config removed and example added
This commit is contained in:
parent
a90cd21b73
commit
cd3335a30a
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,6 +2,7 @@
|
||||
data/pages
|
||||
data/static
|
||||
db.sqlite3
|
||||
config.py
|
||||
|
||||
# ---> Python
|
||||
# Byte-compiled / optimized / DLL files
|
||||
|
12
config.py
12
config.py
@ -1,12 +0,0 @@
|
||||
import os
|
||||
#
|
||||
#
|
||||
APP_NAME = "piki"
|
||||
STARTPAGE = "startpage"
|
||||
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
#
|
||||
SECRET_KEY = "*+=wy%2lo2^@fxxtmx0)14x507%6v73ke-%24%_fb6f+3h^c)-"
|
||||
#
|
26
config_example/config.py
Normal file
26
config_example/config.py
Normal file
@ -0,0 +1,26 @@
|
||||
#
|
||||
# Piki Setting
|
||||
#
|
||||
STARTPAGE = "startpage"
|
||||
|
||||
|
||||
#
|
||||
# General settings
|
||||
#
|
||||
# APP_NAME is used for logging
|
||||
APP_NAME = 'piki'
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = False
|
||||
|
||||
# SECURITY WARNING: don't run with a dummy secret in production!
|
||||
SECRET_KEY = None
|
||||
|
||||
# SECURITY WARNING: don't run with '0.0.0.0' in in production, unless you know what you are doing!
|
||||
ALLOWED_HOSTS = ['127.0.0.1', 'localhost', ]
|
||||
|
||||
#
|
||||
# Style settings
|
||||
#
|
||||
DEFAULT_THEME = 'clear-blue'
|
||||
|
Loading…
x
Reference in New Issue
Block a user