From 2b310d8119dddf4a0af35b51d07e8f2c3ca7ae77 Mon Sep 17 00:00:00 2001 From: Eduardo Calil Date: Fri, 11 Mar 2016 14:34:36 -0300 Subject: [PATCH] Coloca as instrucoes, no README, de como setar o settings.py usando o python decouple --- README.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.rst b/README.rst index dfd5a50d5..2db757c98 100644 --- a/README.rst +++ b/README.rst @@ -56,6 +56,19 @@ Development Environment Installation * Either run ``./manage.py migrate`` (for an empty database) or restore a database dump. +* In sapl/sapl directory create one file called ``.env``. Write the following attribuitions +in it: + +DATABASE_URL = postgresql://USER:PASSWORD@HOST:PORT/NAME +SECRET_KEY = Generate some key and paste here. You generate it using the link below. +DEBUG = [True/False] +EMAIL_USE_TLS = [True/False] +EMAIL_PORT = [Set this parameter] +EMAIL_HOST = [Set this parameter] +EMAIL_HOST_USER = [Set this parameter] +EMAIL_HOST_PASSWORD = [Set this parameter] + +`Generate your secret key here ` Instructions for Translators ============================