Browse Source

Coloca as instrucoes, no README, de como setar o settings.py usando o python decouple

pull/253/head
Eduardo Calil 9 years ago
committed by Edward Ribeiro
parent
commit
2b310d8119
  1. 13
      README.rst

13
README.rst

@ -56,6 +56,19 @@ Development Environment Installation
* Either run ``./manage.py migrate`` (for an empty database) or restore a database dump. * 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 <https://docs.djangoproject.com/es/1.9/ref/settings/#std:setting-SECRET_KEY>`
Instructions for Translators Instructions for Translators
============================ ============================

Loading…
Cancel
Save