· 7 years ago · Feb 26, 2018, 08:32 PM
1# Every setting in base.py can be overloaded by redefining it here.
2from .base import *
3
4# These are required for Django to function properly. Don't touch.
5ROOT_URLCONF = 'tcone.urls'
6WSGI_APPLICATION = 'tcone.wsgi.application'
7SECRET_KEY = 'trnx(=49zcngo%^$e^q0m9rk-7n+7c&l8fbageu-i!s=ujl0px'
8
9# This is where css/images will be placed for your webserver to read
10STATIC_ROOT = "/var/www/tcone/static/"
11
12# Change this to change the name of the auth site displayed
13# in page titles and the site header.
14SITE_NAME = 'TCONE AUTH'
15
16# Change this to enable/disable debug mode, which displays
17# useful error messages but can leak sensitive data.
18DEBUG = False
19
20# Add any additional apps to this list.
21INSTALLED_APPS += [
22'allianceauth.eveonline.autogroups',
23'allianceauth.services.modules.discord',
24'allianceauth.services.modules.smf',
25'allianceauth.hrapplications',
26'allianceauth.fleetup',
27'allianceauth.fleetactivitytracking',
28'allianceauth.corputils',
29'allianceauth.optimer',
30'allianceauth.srp',
31'allianceauth.timerboard',
32'allianceauth.permissions_tool'
33]
34
35# Uncomment by removing the """ and change the database name and
36# credentials to use MySQL/MariaDB. Leave commented to use sqlite3
37"""
38DATABASES['default'] = {
39 'ENGINE': 'django.db.backends.mysql',
40 'NAME': 'alliance_auth',
41 'USER': 'root',
42 'PASSWORD': 'H00ver1515a',
43 'HOST': '127.0.0.1',
44 'PORT': '3306',
45}
46"""
47
48# Register an application at https://developers.eveonline.com for Authentication
49# & API Access and fill out these settings. Be sure to set the callback URL
50# to https://example.com/sso/callback substituting your domain for example.com
51# Select publicData and all available scopes starting with esi-
52ESI_SSO_CLIENT_ID = '340633fa0d064048a672ac233d3f8bda'
53ESI_SSO_CLIENT_SECRET = 'BANKrWUL4fOTCSFYF9vM1sEzhfRSkD1xMBbe45T6'
54ESI_SSO_CALLBACK_URL = 'http://tcone-eve.com/sso/callback'
55
56
57# Emails are validated before new users can log in.
58# It's recommended to use a free service like SparkPost or Mailgun to send email.
59# https://www.sparkpost.com/docs/integrations/django/
60# Set the default from email to something like 'noreply@example.com'
61EMAIL_HOST = 'smtp.1and1.com'
62EMAIL_PORT = 587
63EMAIL_HOST_USER = 'admin@tcone-eve.com'
64EMAIL_HOST_PASSWORD = 'B00kreader5507*'
65EMAIL_USE_TLS = True
66DEFAULT_FROM_EMAIL = 'admin@tcone-eve.com'
67
68#######################################
69# Add any custom settings below here. #
70#######################################
71SMF_URL='http://tcone-eve.com/forums/'
72DATABASES['smf'] = {
73 'ENGINE': 'django.db.backends.mysql',
74 'NAME': 'smf',
75 'USER': 'root',
76 'PASSWORD': 'H00ver1515a',
77 'HOST': '127.0.0.1',
78 'PORT': '3306',
79}
80FLEETUP_APP_KEY='25arvMVcm3u8AtDtjkRAyfNQW'
81FLEETUP_USER_ID='57981'
82FLEETUP_API_ID='w0yUAnOaFVkMw0cNZIhm9GqpHKnzgi'
83FLEETUP_GROUP_ID='50199'
84DISCORD_GUILD_ID='411691737711640587'
85DISCORD_INVITE_CODE='8nZf3CC'
86DISCORD_CALLBACK_URL='http://tcone-eve.com/discord/callback'
87DISCORD_APP_ID='417357003091083275'
88DISCORD_APP_SECRET='9JY48-NNLwE7s3nWNQDJmU_B-l1w5wrG'
89DISCORD_BOT_TOKEN='NDE3MzU3MDAzMDkxMDgzMjc1.DXR1rg.4_cLZklXp1LRzMf24mlwIOL4zqw'
90DISCORD_SYNC_NAMES = True