Skip to content

Commit

Permalink
update deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssagchoi committed Aug 8, 2023
1 parent 8bad298 commit 0c70d54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/config/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from .base import * # pylint: disable=unused-wildcard-import, wildcard-import

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
DEBUG = True

SECRET_KEY = os.environ['DJANGO_SECRET_KEY'] # set in venv activate

Expand Down
4 changes: 2 additions & 2 deletions deploy.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ echo 'Building frontend'
npm ci
npm run build

cd ./backend
cd backend

python manage.py collectstatic --noinput
python3 manage.py collectstatic --noinput

systemctl restart gunicorn

0 comments on commit 0c70d54

Please sign in to comment.