nsbin/uncloud-dev

12 lines
411 B
Text
Raw Normal View History

2020-09-08 19:51:09 +00:00
#!/bin/sh
2020-09-11 21:16:37 +00:00
emacsclient -c ~/vcs/uncloud/ &
2020-09-08 19:51:09 +00:00
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 "[::]:8000"' C-m \; \
2020-09-08 19:51:09 +00:00
new-window \; \
send-keys 'cd ~/vcs/uncloud; . ./venv/bin/activate; python manage.py test' C-m \; \
|| tmux a -t uncloud-dev