Self hosted FLOSS fitness/workout, nutrition and weight tracker
Install requirements from production file (has psycopg2)
Roland Geider4b189649cd05
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 647bb7d2d..14c56d841 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -33,7 +33,7 @@ jobs:- name: Install dependenciesrun: |python -m pip install --upgrade pip- pip install -r requirements_dev.txt+ pip install -r requirements_prod.txtpython setup.py develop- name: Test the application (Postgres)diff --git a/wger/settings.tpl b/wger/settings.tplindex 41c22363f..3475daffd 100644--- a/wger/settings.tpl+++ b/wger/settings.tpl@@ -8,11 +8,16 @@ from wger.settings_global import *# Use 'DEBUG = True' to get more details for server errorsDEBUG = True+# List of administrationsADMINS = (('Your name', '[email protected]'),)MANAGERS = ADMINS+# SERVER_EMAIL = '[email protected]'+# The email address that error messages (and only error messages, such as+# internal server errors) come from, such as those sent to ADMINS and MANAGERS.+DATABASES = {{'default': {{@@ -49,10 +54,11 @@ MEDIA_URL = '/media/'# Allow all hosts to access the application. Change if used in production.ALLOWED_HOSTS = '*'-# This might be a good idea if you setup memcached+# This might be a good idea if you setup redis#SESSION_ENGINE = "django.contrib.sessions.backends.cache"# Configure a real backend in production+# See: https://docs.djangoproject.com/en/dev/topics/email/#email-backendsif DEBUG:EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'@@ -61,3 +67,4 @@ WGER_SETTINGS['EMAIL_FROM'] = 'wger Workout Manager <[email protected]>'# Your twitter handle, if you have one for this instance.#WGER_SETTINGS['TWITTER'] = ''+