Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laradock
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kerwin
laradock
Commits
722e73a3
Commit
722e73a3
authored
Jul 15, 2017
by
Arian Acosta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kept only sync specific functions
parent
1d2f3855
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
sync.sh
sync.sh
+9
-5
No files found.
laradock
.sh
→
sync
.sh
View file @
722e73a3
...
...
@@ -37,12 +37,16 @@ print_style () {
display_options
()
{
printf
"Available options:
\n
"
;
print_style
" install"
"info"
;
printf
"
\t\t
Installs docker-sync gem on the host machine.
\n
"
;
print_style
" up [services]"
"success"
;
printf
"
\t
Starts docker-sync and runs docker compose.
\n
"
;
print_style
" down"
"success"
;
printf
"
\t\t\t
Stops containers and docker-sync.
\n
"
;
print_style
" up [services]"
"success"
;
printf
"
\t
Starts workspace and services.
\n
"
;
print_style
" down"
"success"
;
printf
"
\t\t\t
Stops services.
\n
"
;
print_style
" bash"
"success"
;
printf
"
\t\t\t
Opens bash on the workspace.
\n
"
;
print_style
" trigger"
"success"
;
printf
"
\t\t
Manually triggers the synchronization of files.
\n
"
;
print_style
" clean"
"warning"
;
printf
"
\t\t
Removes all files from docker-sync.
\n
"
;
print_style
" build"
"success"
;
printf
"
\t\t\t
Builds images.
\n
"
;
print_style
" sync install"
"info"
;
printf
"
\t\t
Installs docker-sync gem on the host machine.
\n
"
;
print_style
" sync up [services]"
"success"
;
printf
"
\t
Starts docker-sync and runs docker compose.
\n
"
;
print_style
" sync down"
"success"
;
printf
"
\t\t\t
Stops containers and docker-sync.
\n
"
;
print_style
" sync trigger"
"success"
;
printf
"
\t\t
Manually triggers the synchronization of files.
\n
"
;
print_style
" sync clean"
"warning"
;
printf
"
\t\t
Removes all files from docker-sync.
\n
"
;
}
if
[[
$#
-eq
0
]]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment