-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.defaults.ini
55 lines (40 loc) · 2.16 KB
/
config.defaults.ini
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
# IMPORTANT! Changing values in the DEFAULTS file "config.defaults.ini" is allowed, but NOT recommended -
# because changes will get over-written if you fetch a later version from the repo!
# RECOMMENDED: duplicate the "config.defaults.ini" file, rename it "config.ini", and edit it as needed
# (if the app finds both "config.ini" and "config.defaults.ini" files, values in the former take priority)
#
# Data from this file can be accessed in other modules by using "from configparser import ConfigParser"
[SETTINGS]
# *** Neo4j DATABASE CONNECTION ***
# If Neo4j is on another machine, NEO4J_HOST will have values such as
# bolt://123.456.0.29:7687 or bolt://your_domain.com:7687
# If Neo4j is on the same machine, NEO4J_HOST is typically neo4j://localhost:7687
NEO4J_HOST = neo4j://localhost:7687
NEO4J_USER = neo4j
NEO4J_PASSWORD = neo4j
# IMPORTANT: any % character MUST be escaped as %% (since % has a special meaning)!
# In a new Neo4j installation, the password is typically changed upon the first login
# *** PORT NUMBER ***
# The port number may be changed, but changing it to 80 will NOT work. The Flask default is 5000
# This value is ONLY used for LOCAL deployment
PORT_NUMBER = 5000
# *** LOCAL VS REMOTE DATABASE (relative to the app) ***
# Use either LOCAL or REMOTE
# Use LOCAL if starting the app with Flask (regardless of where the app runs)
# use REMOTE if starting the app with gunicorn (regardless of where the app runs)
DEPLOYMENT = LOCAL
# *** FOLDER LOCATIONS ***
# IMPORTANT: Names MUST end with a slash
# on Windows, use names such as "D:/media/" or "D:/tmp/" (FORWARD slashes even on Windows!)
# Location where the media for Content Items is stored
MEDIA_FOLDER = /home/your_user_name/brain_annex_media/
# IMPORTANT: for now, the media folder MUST include a subfolder called "resized"
# Temporary location for uploads
UPLOAD_FOLDER = /tmp/
# Location for the log file
LOG_FOLDER = /bulk_import_done/
# OPTIONAL: if Continuous Data Ingestion is desired
INTAKE_FOLDER = /bulk_import_intake/
OUTTAKE_FOLDER = /bulk_import_done/
# OPTIONAL: if a different branding is desired. Branding is shown on the Login page
BRANDING = Brain Annex