From 81c37070902fdba7d9268010a88a8aa20a3610ac Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Tue, 2 Jun 2020 10:11:18 +0200 Subject: [PATCH] some cleanup + env comments --- .env.template | 8 +++++++- cookbook/templates/base.html | 6 ++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.env.template b/.env.template index 4713b3a2b..b6a3ef1a5 100644 --- a/.env.template +++ b/.env.template @@ -1,7 +1,13 @@ -DEBUG=1 +# only set this to true when testing/debugging +DEBUG=0 + +# hosts the application can run under e.g. recipes.mydomain.com,cooking.mydomain.com,... ALLOWED_HOSTS=* + +# random secret key, use for example base64 /dev/urandom | head -c50 to generate one SECRET_KEY= +# add only a database password if you want to run with the default postgres, otherwise change settings accordingly DB_ENGINE=django.db.backends.postgresql_psycopg2 POSTGRES_HOST=db_recipes POSTGRES_PORT=5432 diff --git a/cookbook/templates/base.html b/cookbook/templates/base.html index f6a88478e..8e088e910 100644 --- a/cookbook/templates/base.html +++ b/cookbook/templates/base.html @@ -26,15 +26,13 @@ - + - +