1# 2# BitBake Toaster Implementation 3# 4# Copyright (C) 2016 Intel Corporation 5# 6# SPDX-License-Identifier: GPL-2.0-only 7# 8 9# See Django documentation for more information about deployment 10# https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/ 11 12# Toaster production settings example overlay 13# To use this copy this example to "settings_production.py" and set in your 14# environment DJANGO_SETTINGS_MODULE=toastermain.settings_production 15# This can be permanently set in a new .wsgi file 16 17from toastermain.settings import * # NOQA 18 19# Set this value! 20SECRET_KEY = None 21 22# Switch off any debugging 23DEBUG = True 24TEMPLATE_DEBUG = DEBUG 25 26DATABASES = { 27 'default': { 28 'ENGINE': 'django.db.backends.mysql', 29 'NAME': 'toaster_data', 30 'USER': 'toaster', 31 'PASSWORD': 'yourpasswordhere', 32 'HOST': '127.0.0.1', 33 'PORT': '3306', 34 } 35} 36 37# Location where static files will be placed by "manage.py collectstatic" 38STATIC_ROOT = '/var/www/static-toaster/' 39 40# URL prefix for static files. 41STATIC_URL = '/static-toaster/' 42 43# Hosts that Django will serve 44# https://docs.djangoproject.com/en/1.8/ref/settings/#std:setting-ALLOWED_HOSTS 45ALLOWED_HOSTS = ['toaster-example.example.com'] 46