expephalon-demomodule/expephalon/custom_settings.dist.py

39 lines
No EOL
1.3 KiB
Python

# Secret Key: Replace this by a long random string.
# You can use django.core.management.utils.get_random_secret_key to generate one.
SECRET_KEY = "changeme"
# Database settings
# This application is tested only with MariaDB/MySQL.
# You will have to edit settings.py if you want to use Postgres, SQLite, etc.
DB_HOST = "localhost"
DB_PORT = 3306
DB_USER = "expephalon"
DB_PASS = "secret"
DB_NAME = "expephalon"
# AWS/Minio configuration
# Insert any required parameters as per https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html
AWS_ACCESS_KEY_ID = None
AWS_SECRET_ACCESS_KEY = None
AWS_STORAGE_BUCKET_NAME = None
AWS_S3_ENDPOINT_URL = None
# Whether debug messages should be output - set to False in production (exposes sensitive data)
DEBUG = True
# Which hostnames may be used to access the system - by default accepts "localhost", add "*" to allow any hostname
ALLOWED_HOSTS = []
# To add frontend or backend templates, move them to the /templates subdirectory, then insert their name (i.e. the directory name) in the appropriate field. Move any required statics to the /static subdirectory.
EXPEPHALON_FRONTEND = "frontend"
EXPEPHALON_BACKEND = "backend"
# To add Expephalon modules, move them to the Expephalon root directory, then add them to this list
EXPEPHALON_MODULES = []