diff --git a/dashboard/local_settings.example.py b/dashboard/local_settings.example.py index 8cf28a8..48163a4 100644 --- a/dashboard/local_settings.example.py +++ b/dashboard/local_settings.example.py @@ -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 diff --git a/docs/INSTALL.md b/docs/INSTALL.md index c9d1c7e..d31e8a1 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -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: