diff --git a/allianceauth/project_template/project_name/settings/local.py b/allianceauth/project_template/project_name/settings/local.py index a2ed80f8..25830abf 100644 --- a/allianceauth/project_template/project_name/settings/local.py +++ b/allianceauth/project_template/project_name/settings/local.py @@ -10,12 +10,33 @@ STATIC_ROOT = "/var/www/{{ project_name }}/static/" TEMPLATES[0]['DIRS'] += [os.path.join(PROJECT_DIR, 'templates')] SECRET_KEY = '{{ secret_key }}' -# Change this to change the name of the auth site +####################################### +# Site Name # +####################################### +# Change this to change the name of the +# auth site displayed in page titles +# and the site header. +####################################### SITE_NAME = '{{ project_name }}' -# Change this to enable/disable debug mode +####################################### +# Debug Mode # +####################################### +# Change this to enable/disable debug +# mode, which displays useful error +# messages but can leak sensitive data. +####################################### DEBUG = False +####################################### +# Additional Applications # +####################################### +# Add any additional apps to this list. +####################################### +INSTALLED_APPS += [ + +] + ####################################### # Database Settings # ####################################### @@ -27,38 +48,38 @@ DEBUG = False DATABASES['default'] = { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'alliance_auth', - 'USER': os.environ.get('AA_DB_DEFAULT_USER', ''), - 'PASSWORD': os.environ.get('AA_DB_DEFAULT_PASSWORD', ''), - 'HOST': os.environ.get('AA_DB_DEFAULT_HOST', '127.0.0.1'), - 'PORT': os.environ.get('AA_DB_DEFAULT_PORT', '3306'), + 'USER': '', + 'PASSWORD': '', + 'HOST': '127.0.0.1', + 'PORT': '3306', } """ -###################################### -# SSO Settings # -###################################### +####################################### +# SSO Settings # +####################################### # Register an application at # https://developers.eveonline.com # and fill out these settings. # Be sure to set the callback URL to # https://example.com/sso/callback # substituting your domain for example.com -###################################### +####################################### ESI_SSO_CLIENT_ID = '' ESI_SSO_CLIENT_SECRET = '' ESI_SSO_CALLBACK_URL = '' -###################################### -# Email Settings # -###################################### +####################################### +# Email Settings # +####################################### # Alliance Auth validates emails before # new users can log in. # It's recommended to use a free service # like SparkPost or Mailgun to send email. # https://www.sparkpost.com/docs/integrations/django/ -# Set the default from email to something like -# 'noreply@example.com' -################# +# Set the default from email to something +# like 'noreply@example.com' +####################################### EMAIL_HOST = '' EMAIL_PORT = 587 EMAIL_HOST_USER = '' @@ -66,6 +87,6 @@ EMAIL_HOST_PASSWORD = '' EMAIL_USE_TLS = True DEFAULT_FROM_EMAIL = '' -###################################### -# Add any custom settings below here # -###################################### +####################################### +# Add any custom settings below here. # +#######################################