nsbin/uncloud-dev
2020-09-08 21:51:09 +02:00

9 lines
366 B
Bash
Executable file

#!/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