gargantext.ini_toModify 2.11 KB
Newer Older
1
[gargantext]
2

3 4 5
# Main url serving the FrontEnd
URL = http://localhost

6 7 8
# The instance name
BACKEND_NAME = localhost

9 10
# Main API url serving the BackEnd
URL_BACKEND_API = http://localhost:8008/api/v1.0
11

Alexandre Delanoë's avatar
Alexandre Delanoë committed
12
# Needed to instantiate the first users and first data
13 14 15
MASTER_USER = gargantua

# SECURITY WARNING: keep the secret key used in production secret!
16 17
SECRET_KEY      = PASSWORD_TO_CHANGE

18

19 20 21
# Data path to local files
DATA_FILEPATH = FILEPATH_TO_CHANGE

Alexandre Delanoë's avatar
Alexandre Delanoë committed
22
# Data path to local files (do not use quotes)
23
REPO_FILEPATH = FILEPATH_TO_CHANGE
24

25
PUBMED_API_KEY = ENTER_PUBMED_API_KEY
26 27


28
# [external]
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
34

35 36
FRAME_VISIO_URL  = URL_TO_CHANGE

37 38 39
FRAME_SEARX_URL  = URL_TO_CHANGE
FRAME_ISTEX_URL  = URL_TO_CHANGE

40
MAX_DOCS_PARSERS = 1000000
41 42
MAX_DOCS_SCRAPERS = 10000

43 44 45 46
# in seconds
JS_JOB_TIMEOUT = 1800
JS_ID_TIMEOUT = 1800

47 48 49 50 51 52 53 54 55 56 57
[server]
# Server config (TODO connect in ReaderMonad)
ALLOWED_ORIGIN = http://localhost
ALLOWED_ORIGIN_PORT = 8008

ALLOWED_HOST = localhost
ALLOWED_HOST_PORT = 3000

JWT_SETTINGS = TODO


58 59 60 61 62 63 64 65
[network]
# Emails From address (sent by smtp)
MAIL = username@gargantext.org
HOST = localhost
# if remote smtp host
# HOST_USER     = user
# HOST_password = password

66
[database]
67 68 69 70 71 72
# PostgreSQL access
DB_HOST = 127.0.0.1
DB_PORT = 5432
DB_NAME = gargandbV5
DB_USER = gargantua
DB_PASS = PASSWORD_TO_CHANGE
73 74

[logs]
75
LOG_FILE = /var/log/gargantext/backend.log
76
LOG_LEVEL = LevelDebug
77
LOG_FORMATTER = verbose
78 79 80 81 82

[mail]
MAIL_PORT = 25
MAIL_HOST = localhost
MAIL_USER = gargantext
83 84 85
MAIL_PASSWORD = 
MAIL_FROM     = 
# NoAuth | Normal | SSL | TLS | STARTTLS
86
MAIL_LOGIN_TYPE = Normal
87 88

[nlp]
89 90 91 92 93 94 95
# Possible choices (see Gargantext.Core.NLP):
# - spacy:// (for http:// Spacy)
# - spacys:// (for https:// Spacy)
# - corenlp:// (for http:// CoreNLP)
# - corenlps:// (for https:// CoreNLP)
# - johnsnow:// (for http:// JohnSnow)
# - johnsnows:// (for https:// JohnSnow)
96 97 98
EN = corenlp://localhost:9000
FR = spacy://localhost:8001
All = corenlp://localhost:9000