add example local settings file
This commit is contained in:
parent
010ad6ef4f
commit
042443ce71
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,3 +7,4 @@ build/
|
|||||||
*/__pycache__/
|
*/__pycache__/
|
||||||
*/*/__pycache__/
|
*/*/__pycache__/
|
||||||
caromserver/local_settings.py
|
caromserver/local_settings.py
|
||||||
|
/staticfiles/
|
||||||
|
33
caromserver/local_settings_example.py
Normal file
33
caromserver/local_settings_example.py
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
import os
|
||||||
|
|
||||||
|
SECRET_KEY = '@-9++2z_6%^vr(f0wax0aq8-pd@0u$*))w!5l^sv#wxrn7k!v-'
|
||||||
|
DEBUG = True
|
||||||
|
ALLOWED_HOSTS = ['carom-dev.einsle.de']
|
||||||
|
ADMINS = [('Robert Einsle', 'robert@einsle.de'),]
|
||||||
|
|
||||||
|
DATABASES = {
|
||||||
|
'default': {
|
||||||
|
'ENGINE': 'django.db.backends.mysql',
|
||||||
|
'NAME': 'carom-dev',
|
||||||
|
'USER': 'carom-dev',
|
||||||
|
'PASSWORD': 'jex290bjDB4djf0iVKYs',
|
||||||
|
'HOST': '127.0.0.1',
|
||||||
|
'OPTIONS': {
|
||||||
|
'init_command': "SET sql_mode='STRICT_TRANS_TABLES'"
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
STATIC_ROOT = "/srv/carom-dev/carom-server/staticfiles/"
|
||||||
|
|
||||||
|
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
|
||||||
|
EMAIL_HOST = 'mail.einsle.de'
|
||||||
|
EMAIL_PORT = 587
|
||||||
|
EMAIL_HOST_USER = 'relay@einsle.de'
|
||||||
|
EMAIL_HOST_PASSWORD = 'Boaghi0thaiH'
|
||||||
|
EMAIL_USE_TLS = True
|
||||||
|
DEFAULT_FROM_EMAIL = "webmaster@einsle.de"
|
||||||
|
|
||||||
|
URL_LOCATION_PROCESSOR = 'https://carom-dev.einsle.de/billard/process_locationdata'
|
||||||
|
|
||||||
|
PRODUCT_INFO = 'carom-dev'
|
Loading…
Reference in New Issue
Block a user