diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..e15f355 --- /dev/null +++ b/deploy.sh @@ -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." diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..a821564 --- /dev/null +++ b/run.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +pipenv run gunicorn -b $HOST:$PORT --workers 4 tjdests.wsgi