diff --git a/db.sqlite3 b/db.sqlite3 index 9243118..e9ca3a2 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ diff --git a/dokku_notes b/dokku_notes index 6512832..8fd769b 100644 --- a/dokku_notes +++ b/dokku_notes @@ -61,3 +61,9 @@ sudo dokku config:set --no-restart --global DOKKU_LETSENCRYPT_EMAIL=werkoutdev@t sudo dokku letsencrypt:enable werkout sudo dokku letsencrypt:cron-job --add sudo dokku plugin:install https://github.com/dokku/dokku-redirect.git + +---------------------------------------- +45.79.34.63 +server root pass - bohxep-pymde8-xakmyG +---- + diff --git a/requirements.txt b/requirements.txt index f491ded..b1c0102 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,6 +12,7 @@ diff-match-patch==20230430 Django==4.2.2 django-debug-toolbar==4.1.0 django-import-export==3.2.0 +django-push-notifications==3.0.0 djangorestframework==3.14.0 et-xmlfile==1.1.0 gevent==22.10.1 diff --git a/werkout_api/settings.py b/werkout_api/settings.py index 03d1b81..4ee7dfc 100644 --- a/werkout_api/settings.py +++ b/werkout_api/settings.py @@ -31,6 +31,7 @@ INSTALLED_APPS = [ 'rest_framework', 'rest_framework.authtoken', 'import_export', + 'push_notifications', 'equipment', 'exercise', @@ -164,7 +165,7 @@ if os.environ.get("DATABASE_URL"): else: DEBUG = True ALLOWED_HOSTS = ['*'] - SECRET_KEY = 'django-insecure-o_0sbr3lxcy#_r#imo4tl0cw*%@*__2a48dcd6hbp&u9b5dx=1' + SECRET_KEY = os.environ.get("SECRET_KEY", 'secret') DATABASES = { 'default': {