nsbin/uncloud-dev
2021-01-13 10:25:40 +01:00

11 lines
411 B
Bash
Executable file

#!/bin/sh
emacsclient -c ~/vcs/uncloud/ &
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 \; \
new-window \; \
send-keys 'cd ~/vcs/uncloud; . ./venv/bin/activate; python manage.py test' C-m \; \
|| tmux a -t uncloud-dev