Skip to content
Lou Wolford edited this page Mar 29, 2017 · 10 revisions

The settings.ini file holds all of your sensitive/specific settings out of your settings.py file. This way you don't have to mess with them with any source control and keeps them a tiny bit safer. Like the readme file stated, created a settings.ini file in the adl_lrs directory, then add these values:

[database]
NAME: lrs
USER: <db_owner_name>
PASSWORD: <db_owner_password>
HOST: localhost
PORT: 5432


[email]
EMAIL_BACKEND: django.core.mail.backends.smtp.EmailBackend
EMAIL_HOST: <email_host>
EMAIL_PORT: 465
EMAIL_HOST_USER: <email_host_user>
EMAIL_HOST_PASSWORD: <email_host_user_password>
EMAIL_USE_SSL: True


[debug]
DEBUG: True


[auth]
ALLOW_EMPTY_HTTP_AUTH: False
OAUTH_ENABLED: True


[hooks]
USE_HOOKS: False


[preferences]
SERVER_STMT_LIMIT: 100
STMTS_PER_PAGE: 10
TIME_ZONE: America/New_York
LANGUAGE_CODE: en-US


[secrets]
SECRET_KEY: <whatever key you want-just a string of characters>

[ampq]
USERNAME: <username_for_rabbitmq>
PASSWORD: <password_for_rabbitmq>
HOST: localhost
PORT: 5672
VHOST: <vhost_name>

NOTE: You can set the email values if you wish. These are just for if any users forget their passwords. You don't not have to enable this.

Clone this wiki locally