mirror of
https://github.com/etnguyen03/tjdests.git
synced 2025-04-18 01:00:17 -04:00
feat: add run.sh and deploy.sh scripts for Director
This commit is contained in:
parent
c39fdc7d67
commit
6a3686a71d
8
deploy.sh
Executable file
8
deploy.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd /site/public
|
||||
git pull
|
||||
TMPDIR=/site/tmp pipenv sync
|
||||
pipenv run ./manage.py migrate
|
||||
pipenv run ./manage.py collectstatic --no-input
|
||||
echo "Deploy complete. Restart the site process to wrap up."
|
Loading…
Reference in New Issue
Block a user