bizcochito.onion/deploy.sh

10 lines
231 B
Bash
Raw Normal View History

2023-07-14 19:10:53 +00:00
#!/bin/sh
rsync -rv webpage django:/home/django/personalWebpage/
2023-07-26 10:30:24 +00:00
ssh django "bash -s" <<EOF
2023-07-14 19:10:53 +00:00
cd /home/django/personalWebpage/
2023-07-26 10:30:24 +00:00
python3 manage.py collectstatic --noinput
2023-07-27 08:36:24 +00:00
python3 manage.py makemigrations
python3 manage.py migrate
2023-07-26 10:30:24 +00:00
EOF