Created
May 27, 2014 15:37
-
-
Save earnubs/ce29748dd188a1f3c642 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PROJECT_ROOT="/path/to/project/" | |
API_PATH="$PROJECT_ROOT/api/workspace" | |
WEB_PATH="$PROJECT_ROOT/web/workspace" | |
cd $API_PATH | |
tmux new-session -d -s appstore "make build run" | |
tmux rename-window 'Logs' | |
tmux select-window -t appstore:0 | |
cd - | |
cd $WEB_PATH | |
tmux split-window -t 0 "make build run" | |
cd - | |
cd $WEB_PATH | |
tmux split-window -t 1 "./node_modules/.bin/grunt watch" | |
tmux select-layout even-vertical | |
tmux -2 attach-session -t appstore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment