fixed tests working.

This commit is contained in:
2021-04-15 14:05:45 +01:00
parent 43fc877445
commit 64acde19db
4 changed files with 14 additions and 12 deletions

View File

@@ -1,10 +1,13 @@
DJANGO_SECRET_KEY = 'Please set me correctly'
# Set this or it won't work.
DJANGO_SECRET_KEY =
DJANGO_DEBUG = False
#set this to the hostname of your server.
DJANGO_ALLOWED_HOSTS = 'localhost'
DB_USER=admin
#Please set a better password
DB_PASS=password
DB_HOST=database
DB_DATABASE=cbwebreader
@@ -12,9 +15,10 @@ DB_DATABASE=cbwebreader
# https://github.com/jacobian/dj-database-url
DATABASE_URL = 'postgres://${DB_USER}:${DB_PASS}@${DB_HOST}/${DB_DATABASE}'
#Path to your comics.
COMIC_BOOK_VOLUME = '/path/to/comic/folder'
STATIC_ROOT = 'path/to/static/files'
STATIC_ROOT = '/static'
# This expects the office winrar unrar command line tool for windows or linux.
# Will work without setting if it is in the path
@@ -25,5 +29,5 @@ STATIC_ROOT = 'path/to/static/files'
# DJANGO_RECAPTCHA_PRIVATE_KEY = ''
# DJANGO_RECAPTCHA_PUBLIC_KEY = ''
# Uncomment the following is using a reverse proxy.
# USE_X_FORWARDED_HOST=True
# Comment the following if not using a reverse proxy.
USE_X_FORWARDED_HOST=True