Adapt docker start scripts to new directory structure.

This commit is contained in:
Andrey Antukh
2016-11-20 20:40:30 +01:00
parent 249db6bd4b
commit 661e2d821e
2 changed files with 4 additions and 16 deletions

View File

@@ -4,12 +4,12 @@ tmux -2 new-session -d -s uxbox
tmux new-window -t uxbox:1 -n 'figwheel'
tmux select-window -t uxbox:1
tmux send-keys -t uxbox 'cd uxbox' enter C-l
tmux send-keys -t uxbox 'cd uxbox/frontend' enter C-l
tmux send-keys -t uxbox 'npm run figwheel' enter
tmux new-window -t uxbox:2 -n 'backend'
tmux select-window -t uxbox:2
tmux send-keys -t uxbox 'cd uxbox-backend' enter C-l
tmux send-keys -t uxbox 'cd uxbox/backend' enter C-l
tmux send-keys -t uxbox 'bash ./scripts/fixtures.sh' enter
tmux send-keys -t uxbox 'bash ./scripts/run.sh' enter
@@ -19,7 +19,7 @@ tmux send-keys -t uxbox 'sudo pg_ctlcluster 9.5 main start' enter
tmux rename-window -t uxbox:0 'gulp'
tmux select-window -t uxbox:0
tmux send-keys -t uxbox 'cd uxbox' enter C-l
tmux send-keys -t uxbox 'cd uxbox/frontend' enter C-l
tmux send-keys -t uxbox 'if [ ! -e ./node_modules ]; then npm install; fi' enter C-l
tmux send-keys -t uxbox 'npm run watch' enter