Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
fsoest committed Jan 1, 2025
1 parent e0318af commit 6778ea8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion S1/S1/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
SECRET_KEY = os.getenv("SECRET_KEY")

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

ALLOWED_HOSTS = ["s1.vatger.de", "s1.vatsim-germany.org"]

Expand Down
3 changes: 2 additions & 1 deletion S1/initial_setup.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
python manage.py makemigrations
python manage.py migrate
python manage.py create_mentor_group
python manage.py create_mentor_group
python manage.py collectstatic
3 changes: 1 addition & 2 deletions init.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
nginx -g "daemon on;"

crontab cron_schedule && crond
cd S1 && python manage.py collectstatic
gunicorn S1.wsgi --bind 0.0.0.0:8016
cd S1 && gunicorn S1.wsgi --bind 0.0.0.0:8016

0 comments on commit 6778ea8

Please sign in to comment.