fix for duplicate files being created.

This commit is contained in:
2020-11-03 08:36:57 +00:00
parent d9fede5b92
commit 31a7d8f45a
11 changed files with 112 additions and 394 deletions

View File

@@ -4,8 +4,17 @@ DJANGO_DEBUG = False
DJANGO_ALLOWED_HOSTS = 'localhost'
# pip install psycopg2-binary
DATABASE_URL = 'postgres://{user}:{password}@{hostname}:{port}/{database-name}'
DB_USER=admin
DB_PASS=password
DB_HOST=database
DB_DATABASE=cbwebreader
# https://github.com/jacobian/dj-database-url
DATABASE_URL = 'postgres://${DB_USER}:${DB_PASS}@${DB_HOST}/${DB_DATABASE}'
COMIC_BOOK_VOLUME = '/path/to/comic/folder'
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