nsbin/uncloud-dev

10 lines
366 B
Text
Raw Normal View History

2020-09-08 19:51:09 +00:00
#!/bin/sh
tmux new -s uncloud-dev \; \
send-keys 'cd ~/vcs/uncloud; . ./venv/bin/activate' C-m \; \
split-window -v \; \
send-keys 'cd ~/vcs/uncloud; . ./venv/bin/activate; python manage.py runserver' C-m \; \
new-window \; \
send-keys 'cd ~/vcs/uncloud; . ./venv/bin/activate; python manage.py test' C-m \; \
|| tmux a -t uncloud-dev