-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings.py.tmpl
67 lines (57 loc) · 1.68 KB
/
settings.py.tmpl
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
# -*- coding: utf8 -*-
# Development
PORT = 3000
# ** IMPORTANT: Uncomment the lines below in production **
# ENV = 'production'
# SERVER_NAME = 'example.com'
# Database URI
SQLALCHEMY_DATABASE_URI = 'postgresql://explicates:tester@localhost/explicates'
# Database slave configuration
# SQLALCHEMY_BINDS = {
# 'slave': 'postgresql://user:password@server/db'
# }
# The agent responsible for generating the serialization of the Annotations.
# See https://www.w3.org/TR/annotation-model/
# GENERATOR = 'http://example.org/client1'
# Require strict slashes at the end of all API endpoints (default below)
# STRICT_SLASHES = False
# The number of Annotations to display per page (default below)
# ANNOTATIONS_PER_PAGE = 1000
# CORS settings (defaults below)
# See https://flask-cors.readthedocs.io/en/latest/
# CORS_RESOURCES = {
# r"/*": {
# "origins": "*",
# "allow_headers": [
# 'Content-Type',
# 'Content-Length',
# 'Authorization',
# 'If-Match',
# 'Prefer',
# 'Accept',
# 'Slug'
# ],
# "max_age": 21600,
# "supports_credentials": True
# }
# }
# Full-text search default language (default below)
# FTS_DEFAULT = 'english'
# Full-text search map of available PostgreSQL dictionaries (defaults below)
# FTS_LANGUAGE_MAP = {
# 'da': 'danish',
# 'nl': 'dutch',
# 'fi': 'finnish',
# 'fr': 'french',
# 'de': 'german',
# 'hu': 'hungarian',
# 'it': 'italian',
# 'no': 'norwegian',
# 'pt': 'portuguese',
# 'ro': 'romanian',
# 'ru': 'russian',
# 'es': 'spanish',
# 'sv': 'swedish',
# 'tr': 'turkish',
# 'en': 'english'
# }