add script for developing uncloud

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

3
myvym.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh
vym ~/vcs/notes/mindmap/lebensbaum.vym

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