Created
April 22, 2014 15:42
-
-
Save pedrombafonso/11184113 to your computer and use it in GitHub Desktop.
tmux config for launching development tools
This file contains hidden or 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 | |
shopt -s expand_aliases | |
source ~/.bash_profile; | |
PROJ_ROOT='~/dev/minuscode/dev/gitescrow/proj' | |
cd $PROJ_ROOT; | |
gco develop; | |
cd $PROJ_ROOT; | |
tmux neww -n proj; | |
tmux splitw -h -t 0 'mongod'; | |
tmux splitw -v -t 0; | |
tmux splitw -v -t 1; | |
cd admin; | |
tmux neww -n admin; | |
tmux splitw -h -t 0 'gulp'; | |
tmux splitw -v -t 0; | |
tmux splitw -v -t 1 'node-dev dist/server.js'; | |
cd $PROJ_ROOT; | |
cd api; | |
tmux neww -n api; | |
tmux splitw -h -t 0; | |
tmux splitw -v -t 0; | |
tmux splitw -v -t 1 'node-dev server.js'; | |
cd $PROJ_ROOT; | |
cd auth; | |
tmux neww -n auth; | |
tmux splitw -h -t 0; | |
tmux splitw -v -t 0; | |
tmux splitw -v -t 1 'node-dev server.js'; | |
cd ~; | |
tmux neww -n home; | |
tmux splitw -h -t 0; | |
tmux splitw -v -t 0; | |
tmux splitw -v -t 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment