Created
December 2, 2019 16:53
-
-
Save c05m0ch405/bfca3270814c0398c159ebf8cd6a93c7 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
tmux new-session -d -s backend_proj | |
tmux send-keys -t backend_proj:0 'cd ~/Projects/project-name;poetry shell' C-m | |
tmux send-keys -t backend_proj:0 './manage.py runserver' C-m | |
tmux rename-window 'backend_project' | |
tmux split-window -h | |
tmux select-window -t backend_proj:0 | |
tmux send-keys -t backend_proj:0 'cd ~/Projects/another-project-name' C-m | |
tmux send-keys -t backend_proj:0 'yarn start' C-m | |
tmux split-window -v -t 0 | |
tmux send-keys -t backend_proj:0 'cd ~/Projects/projectname/foldername;poetry shell' C-m | |
tmux send-keys -t backend_proj:0 'celery -A proj worker -l info' C-m | |
tmux attach-session -t backend_proj |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment