add script for developing uncloud

This commit is contained in:
Nico Schottelius 2020-09-08 21:51:09 +02:00
commit ee7ca28793
2 changed files with 12 additions and 0 deletions

9
uncloud-dev Executable file
View file

@ -0,0 +1,9 @@
#!/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