Created
June 6, 2013 15:59
-
-
Save maiksprenger/5722652 to your computer and use it in GitHub Desktop.
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/sh | |
tmux start-server | |
tmux new-session -d -s trent -n serv | |
tmux new-window -t trent:1 -n solr | |
tmux new-window -t trent:2 -n DI | |
tmux new-window -t trent:3 -n DII | |
tmux new-window -t trent:4 -n oscar | |
tmux new-window -t trent:5 -n venv | |
tmux send-keys -t trent:0 "cd www; workon trent" C-m "django-admin.py runserver" C-m | |
tmux send-keys -t trent:1 "./runsolr.sh" C-m | |
tmux send-keys -t trent:2 "cd www; workon trent; g st" C-m | |
tmux send-keys -t trent:3 "cd www; workon trent" C-m | |
tmux send-keys -t trent:4 "cd ~/gits/tangent/django-oscar/oscar; workon oscar; g st" C-m | |
tmux send-keys -t trent:5 "cd ~/.virtualenvs/trent" C-m | |
sl | |
tmux select-window -t trent:2 | |
tmux attach-session -t trent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment