This repository has been archived by the owner on Nov 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
production.config
46 lines (35 loc) · 1.54 KB
/
production.config
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
# Copyright (c) 2016, Matt Layman
'''A sample production configuration for MarkWiki'''
# MarkWiki can be configured to require logins.
# Replace None with 'basic' to enable authentication.
AUTHENTICATION = None
# When authentication is used, the administrator account is used to manage
# MarkWiki. The admin can create new accounts and reset passwords. Set the
# desired admin username and password here (don't forget to include quotes).
ADMINISTRATOR = None
ADMIN_PASSWORD = None
# Allow a new user to register an account when authentication is enabled.
ALLOW_REGISTRATION = True
# The secret key is for user session security. Please choose something long
# and unique that is not very guessable. A sentence like what is shown below
# is probably a *bad* idea.
SECRET_KEY = 'It\'s a secret to everybody.'
# The hostname and port number
SERVER_HOST = 'example.com'
SERVER_PORT = 80
# MarkWiki is designed to support multiple methods of storing data.
# The supported types are: 'file'
STORAGE_TYPE = 'file'
# The location of all MarkWiki information
MARKWIKI_HOME = '/var/www/markwiki'
# Advanced settings
# Production deployments should not set debug to True. Nefarious people could
# find ways to exploit your server. Best to leave this one alone.
DEBUG = False
# The paths to static assets and templates can be overriden. This allows for
# complete customization of the user interface.
STATIC_PATH = None
TEMPLATE_PATH = None
# Enables handling of pages of the wiki with git. This allows to have
# versioning and revert pages to old version
GIT_ENABLED = False