bornhack-website/src/bornhack/environment_settings.py.dist

70 lines
2 KiB
Plaintext
Raw Normal View History

# make this a long 100+ chars random string
SECRET_KEY = '{{ django_secret_key }}'
ALLOWED_HOSTS = {{ django_allowed_hostnames }}
# Database settings
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': '{{ django_postgres_dbname }}',
'USER': '{{ django_postgres_user }}',
'PASSWORD': '{{ django_postgres_password }}',
'HOST': '{{ django_postgres_host }}',
},
}
2017-02-11 16:22:02 +00:00
DEBUG={{ django_debug }}
### changes below here are only needed for production
# email settings
EMAIL_HOST='{{ django_email_host }}'
EMAIL_PORT={{ django_email_port }}
2017-02-11 16:11:40 +00:00
EMAIL_HOST_USER='{{ django_email_user }}'
EMAIL_HOST_PASSWORD='{{ django_email_password }}'
EMAIL_USE_TLS=True
2017-02-11 16:11:40 +00:00
DEFAULT_FROM_EMAIL='{{ django_email_from }}'
ARCHIVE_EMAIL='{{ django_archive_email }}'
ADMINS={{ django_admins }}
# misc settings
TIME_ZONE='{{ django_timezone }}'
MEDIA_ROOT='{{ django_media_root }}'
PDF_ARCHIVE_PATH='{{ pdf_archive_path }}'
2017-02-19 20:20:19 +00:00
# start redirecting to the next camp instead of the previous camp after
# this much of the time between the camps has passed
CAMP_REDIRECT_PERCENT=40
# PSP settings
EPAY_MERCHANT_NUMBER='{{ epay_merchant_number }}'
EPAY_MD5_SECRET='{{ epay_md5_secret }}'
COINIFY_API_KEY='{{ coinify_api_key }}'
COINIFY_API_SECRET='{{ coinify_api_secret }}'
COINIFY_IPN_SECRET='{{ coinify_ipn_secret }}'
# shop settings
PDF_LETTERHEAD_FILENAME='bornhack-2017_test_letterhead.pdf'
BANKACCOUNT_IBAN='{{ iban }}'
BANKACCOUNT_SWIFTBIC='{{ swiftbic }}'
BANKACCOUNT_REG='{{ regno }}'
BANKACCOUNT_ACCOUNT='{{ accountno }}'
2017-01-31 22:26:45 +00:00
TICKET_CATEGORY_NAME='Tickets'
# schedule settings
SCHEDULE_MIDNIGHT_OFFSET_HOURS=6
SCHEDULE_TIMESLOT_LENGTH_MINUTES=30
SCHEDULE_EVENT_NOTIFICATION_MINUTES=10
# irc bot settings
IRCBOT_CHECK_MESSAGE_INTERVAL_SECONDS=60
2017-01-31 22:02:27 +00:00
IRCBOT_NICK='mybot'
IRCBOT_SCHEDULE_ANNOUNCE_CHANNEL='#something'
IRCBOT_SERVER_HOSTNAME='irc.example.com'
IRCBOT_SERVER_PORT=6697
IRCBOT_SERVER_USETLS=True