forked from mrdaemon/kremlin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathkremlin-example.cfg
71 lines (61 loc) · 2.21 KB
/
kremlin-example.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#
# # # #### ##### # # ##### # # # #
# # # # # # ## ## # # # ## # #
# ### #### #### # # # # # # # # #####
# # # # # # # # # ## # # #
# # # # ##### # # # # # # # #
#
# Kremlin Magical Everything System
# Glasnost Image Board and Boredom Inhibitor
#
# -------------------------------------------------------------------------
#
# Kremlin Configuration File - Edit each section accordingly!
# You can point Kremlin to this configuration by declaring this
# environment variable:
#
# KREMLIN_CONFIGURATION=/path/to/file.cfg
#
# This will ensure the software can find its configuration.
# Otherwise, the startup programs (runserver.py and friends) will look
# for a file in the current working directory named 'kremlin.cfg'
#
# -------------------------------------------------------------------------
#
## CONFIGURATION: Config Name
# You should probably use this comment to describe the configuration.
# e.g.: production
## Base Configuration
DEBUG = True # Enable Debugging (currently doesn't do anything)
## Session Key
# You must generate a unique, secure session key for every install.
# This can be done from python:
#
# >> import os
# >> os.urandom(24).encode('hex')
#
# or
#
# $ python -c "import os; print os.urandom(24).encode('hex')"
#
# Copy the session key here. KEEP IT SECRET, KEEP IT SAFE
#
SECRET_KEY = "your-secret-key-here"
## Database Settings
# Please enter your URI for the database backend in the following format:
#
# dialect+driver://username:password@host:port/database
#
# Some examples:
# - postgresql://scott:tiger@localhost/kremlindb
# - mysql://scott:tiger@localhost/kremlindb
# - oracle://scott:[email protected]:1521/SIDname
# - sqlite:////absolute/path/file.db
DATABASE_URI = 'dialect+driver://username:password@host:port/database'
## Imageboard Settings
# These settings control the imageboard
## Images repository
# This is where the uploaded images ultimately reside.
# The path can be anywhere on the filesystem, as long as the application
# can read and write to it.
UPLOADED_IMAGES_DEST = '/var/lib/kremlin/images'