3 # Main url serving the FrontEnd
6 # Main API url serving the BackEnd
7 URL_BACKEND_API = http://localhost:8008/api/v1.0
9 # Needed to instantiate the first users and first data
10 MASTER_USER = gargantua
12 # SECURITY WARNING: keep the secret key used in production secret!
13 SECRET_KEY = PASSWORD_TO_CHANGE
16 # Data path to local files
17 DATA_FILEPATH = FILEPATH_TO_CHANGE
19 # Data path to local files (do not use quotes)
20 REPO_FILEPATH = FILEPATH_TO_CHANGE
25 # FRAMES (i.e. iframe sources used in various places on the frontend)
26 #FRAME_WRITE_URL = http://write.frame.gargantext.org/
27 FRAME_WRITE_URL = URL_TO_CHANGE
28 #FRAME_CALC_URL = http://calc.frame.gargantext.org/
29 FRAME_CALC_URL = URL_TO_CHANGE
31 FRAME_VISIO_URL = URL_TO_CHANGE
33 FRAME_SEARX_URL = URL_TO_CHANGE
34 FRAME_ISTEX_URL = URL_TO_CHANGE
36 MAX_DOCS_SCRAPERS = 10000
39 # Server config (TODO connect in ReaderMonad)
40 ALLOWED_ORIGIN = http://localhost
41 ALLOWED_ORIGIN_PORT = 8008
43 ALLOWED_HOST = localhost
44 ALLOWED_HOST_PORT = 3000
50 # Emails From address (sent by smtp)
51 MAIL = username@gargantext.org
55 # HOST_password = password
63 DB_PASS = PASSWORD_TO_CHANGE
66 LOG_FILE = /var/log/gargantext/backend.log
67 LOG_LEVEL = LevelDebug
68 LOG_FORMATTER = verbose