feat: docs: local_settings.example.py
ci/woodpecker/push/woodpecker Pipeline failed Details

pull/2/head
Aravinth Manivannan 2022-06-25 18:45:37 +05:30
parent 0d6968ff0a
commit b387e44f49
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
2 changed files with 11 additions and 1 deletions

View File

@ -18,6 +18,8 @@ env = environ.Env()
# See https://docs.djangoproject.com/en/4.0/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
# A new SECRET_KEY can be generated by running the following command:
# openssl rand -hex 32
SECRET_KEY = "django-insecure-44zt@)$td7_yh(01q^hrce%h(311n!djn%%#s1b7$cvfy!pf7y"
# SECURITY WARNING: don't run with debug turned on in production!
@ -25,7 +27,6 @@ DEBUG = True
ALLOWED_HOSTS = []
# Database
# https://docs.djangoproject.com/en/4.0/ref/settings/#databases

View File

@ -1,5 +1,14 @@
# Installation instructions
## Configuration template
[dashboard/local_settings.example.py](../dashboard/local_settings.example.py)
contains a configuration template that may be used to create production
configuration file to override [dashboard/settings.py](../dashboard/settings.py).
Please copy local_settings.example.py to local_settings.py and make
changes to the newly copied file.
## Cron jobs
Run cron job at an interval of your choosing with the following comamnd: