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
20 DATA_FILEPATH = FILEPATH_TO_CHANGE
22 # Data path to local files (do not use quotes)
23 REPO_FILEPATH = FILEPATH_TO_CHANGE
28 # FRAMES (i.e. iframe sources used in various places on the frontend)
29 #FRAME_WRITE_URL = http://write.frame.gargantext.org/
30 FRAME_WRITE_URL = URL_TO_CHANGE
31 #FRAME_CALC_URL = http://calc.frame.gargantext.org/
32 FRAME_CALC_URL = URL_TO_CHANGE
34 FRAME_VISIO_URL = URL_TO_CHANGE
36 FRAME_SEARX_URL = URL_TO_CHANGE
37 FRAME_ISTEX_URL = URL_TO_CHANGE
39 MAX_DOCS_SCRAPERS = 10000
42 # Server config (TODO connect in ReaderMonad)
43 ALLOWED_ORIGIN = http://localhost
44 ALLOWED_ORIGIN_PORT = 8008
46 ALLOWED_HOST = localhost
47 ALLOWED_HOST_PORT = 3000
53 # Emails From address (sent by smtp)
54 MAIL = username@gargantext.org
58 # HOST_password = password
66 DB_PASS = PASSWORD_TO_CHANGE
69 LOG_FILE = /var/log/gargantext/backend.log
70 LOG_LEVEL = LevelDebug
71 LOG_FORMATTER = verbose