mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-06 23:26:19 +01:00
Gunicorn needs to be run whilist in the folder for context, folder path is not enough Correct static path, note to check nginx user Capitalization of services and small typos Service examples updated to their latest versions and download links Expanded /var/www chowns for Nginx and Apache examples Add in a troubleshooting note for no images being displayed (permissions issue) and gunicorn not execting (file path context) Correct formatting. Reword a few parts. Remove "new in 1.15".
61 lines
2.1 KiB
Python
61 lines
2.1 KiB
Python
# Every setting in base.py can be overloaded by redefining it here.
|
|
from .base import *
|
|
|
|
# These are required for Django to function properly. Don't touch.
|
|
ROOT_URLCONF = '{{ project_name }}.urls'
|
|
WSGI_APPLICATION = '{{ project_name }}.wsgi.application'
|
|
SECRET_KEY = '{{ secret_key }}'
|
|
|
|
# This is where css/images will be placed for your webserver to read
|
|
STATIC_ROOT = "/var/www/{{ project_name }}/static/"
|
|
|
|
# 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, which displays
|
|
# useful error messages but can leak sensitive data.
|
|
DEBUG = False
|
|
|
|
# Add any additional apps to this list.
|
|
INSTALLED_APPS += [
|
|
|
|
]
|
|
|
|
# Enter credentials to use MySQL/MariaDB. Comment out to use sqlite3
|
|
DATABASES['default'] = {
|
|
'ENGINE': 'django.db.backends.mysql',
|
|
'NAME': 'alliance_auth',
|
|
'USER': '',
|
|
'PASSWORD': '',
|
|
'HOST': '127.0.0.1',
|
|
'PORT': '3306',
|
|
}
|
|
|
|
# Register an application at https://developers.eveonline.com for Authentication
|
|
# & API Access and fill out these settings. Be sure to set the callback URL
|
|
# to https://example.com/sso/callback substituting your domain for example.com
|
|
# Logging in to auth requires the publicData scope (can be overridden through the
|
|
# LOGIN_TOKEN_SCOPES setting). Other apps may require more (see their docs).
|
|
ESI_SSO_CLIENT_ID = ''
|
|
ESI_SSO_CLIENT_SECRET = ''
|
|
ESI_SSO_CALLBACK_URL = ''
|
|
|
|
# By default emails are validated before new users can log in.
|
|
# It's recommended to use a free service like SparkPost or Elastic Email to send email.
|
|
# https://www.sparkpost.com/docs/integrations/django/
|
|
# https://elasticemail.com/resources/settings/smtp-api/
|
|
# Set the default from email to something like 'noreply@example.com'
|
|
# Email validation can be turned off by uncommenting the line below. This can break some services.
|
|
# REGISTRATION_VERIFY_EMAIL = False
|
|
EMAIL_HOST = ''
|
|
EMAIL_PORT = 587
|
|
EMAIL_HOST_USER = ''
|
|
EMAIL_HOST_PASSWORD = ''
|
|
EMAIL_USE_TLS = True
|
|
DEFAULT_FROM_EMAIL = ''
|
|
|
|
#######################################
|
|
# Add any custom settings below here. #
|
|
#######################################
|