mirror of
https://github.com/wger-project/wger.git
synced 2026-02-18 00:17:51 +01:00
Install requirements from production file (has psycopg2)
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -33,7 +33,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements_dev.txt
|
||||
pip install -r requirements_prod.txt
|
||||
python setup.py develop
|
||||
|
||||
- name: Test the application (Postgres)
|
||||
|
||||
@@ -8,11 +8,16 @@ from wger.settings_global import *
|
||||
# Use 'DEBUG = True' to get more details for server errors
|
||||
DEBUG = True
|
||||
|
||||
# List of administrations
|
||||
ADMINS = (
|
||||
('Your name', 'your_email@example.com'),
|
||||
)
|
||||
MANAGERS = ADMINS
|
||||
|
||||
# SERVER_EMAIL = 'info@my-domain.com'
|
||||
# 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-backends
|
||||
if DEBUG:
|
||||
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
||||
|
||||
@@ -61,3 +67,4 @@ WGER_SETTINGS['EMAIL_FROM'] = 'wger Workout Manager <wger@example.com>'
|
||||
|
||||
# Your twitter handle, if you have one for this instance.
|
||||
#WGER_SETTINGS['TWITTER'] = ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user