3 # Main url serving the FrontEnd
7 BACKEND_NAME = localhost
9 # Main API url serving the BackEnd
10 URL_BACKEND_API = http://localhost:8008/api/v1.0
12 # Needed to instantiate the first users and first data
13 MASTER_USER = gargantua
15 # SECURITY WARNING: keep the secret key used in production secret!
16 SECRET_KEY = PASSWORD_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
25 PUBMED_API_KEY = ENTER_PUBMED_API_KEY
29 # FRAMES (i.e. iframe sources used in various places on the frontend)
30 #FRAME_WRITE_URL = http://write.frame.gargantext.org/
31 FRAME_WRITE_URL = URL_TO_CHANGE
32 #FRAME_CALC_URL = http://calc.frame.gargantext.org/
33 FRAME_CALC_URL = URL_TO_CHANGE
35 FRAME_VISIO_URL = URL_TO_CHANGE
37 FRAME_SEARX_URL = URL_TO_CHANGE
38 FRAME_ISTEX_URL = URL_TO_CHANGE
40 MAX_DOCS_PARSERS = 1000000
41 MAX_DOCS_SCRAPERS = 10000
48 # Server config (TODO connect in ReaderMonad)
49 ALLOWED_ORIGIN = http://localhost
50 ALLOWED_ORIGIN_PORT = 8008
52 ALLOWED_HOST = localhost
53 ALLOWED_HOST_PORT = 3000
59 # Emails From address (sent by smtp)
60 MAIL = username@gargantext.org
64 # HOST_password = password
72 DB_PASS = PASSWORD_TO_CHANGE
75 LOG_FILE = /var/log/gargantext/backend.log
76 LOG_LEVEL = LevelDebug
77 LOG_FORMATTER = verbose
82 MAIL_USER = gargantext
85 # NoAuth | Normal | SSL | TLS | STARTTLS
86 MAIL_LOGIN_TYPE = Normal
89 EN = corenlp://localhost:9000
90 FR = spacy://localhost:8001
91 All = corenlp://localhost:9000