]> Git — Sourcephile - gargantext.git/blob - gargantext.ini_toModify
[VERSION] +1 to 0.0.6.9.9.4.3
[gargantext.git] / gargantext.ini_toModify
1 [gargantext]
2
3 # Main url serving the FrontEnd
4 URL = http://localhost
5
6 # The instance name
7 BACKEND_NAME = localhost
8
9 # Main API url serving the BackEnd
10 URL_BACKEND_API = http://localhost:8008/api/v1.0
11
12 # Needed to instantiate the first users and first data
13 MASTER_USER = gargantua
14
15 # SECURITY WARNING: keep the secret key used in production secret!
16 SECRET_KEY = PASSWORD_TO_CHANGE
17
18
19 # Data path to local files
20 DATA_FILEPATH = FILEPATH_TO_CHANGE
21
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 FRAME_VISIO_URL = URL_TO_CHANGE
36
37 FRAME_SEARX_URL = URL_TO_CHANGE
38 FRAME_ISTEX_URL = URL_TO_CHANGE
39
40 MAX_DOCS_PARSERS = 1000000
41 MAX_DOCS_SCRAPERS = 10000
42
43 # in seconds
44 JS_JOB_TIMEOUT = 1800
45 JS_ID_TIMEOUT = 1800
46
47 [server]
48 # Server config (TODO connect in ReaderMonad)
49 ALLOWED_ORIGIN = http://localhost
50 ALLOWED_ORIGIN_PORT = 8008
51
52 ALLOWED_HOST = localhost
53 ALLOWED_HOST_PORT = 3000
54
55 JWT_SETTINGS = TODO
56
57
58 [network]
59 # Emails From address (sent by smtp)
60 MAIL = username@gargantext.org
61 HOST = localhost
62 # if remote smtp host
63 # HOST_USER = user
64 # HOST_password = password
65
66 [database]
67 # PostgreSQL access
68 DB_HOST = 127.0.0.1
69 DB_PORT = 5432
70 DB_NAME = gargandbV5
71 DB_USER = gargantua
72 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 [mail]
80 MAIL_PORT = 25
81 MAIL_HOST = localhost
82 MAIL_USER = gargantext
83 MAIL_PASSWORD =
84 MAIL_FROM =
85 # NoAuth | Normal | SSL | TLS | STARTTLS
86 MAIL_LOGIN_TYPE = Normal
87
88 [nlp]
89 # Possible choices (see Gargantext.Core.NLP):
90 # - spacy:// (for http:// Spacy)
91 # - spacys:// (for https:// Spacy)
92 # - corenlp:// (for http:// CoreNLP)
93 # - corenlps:// (for https:// CoreNLP)
94 # - johnsnow:// (for http:// JohnSnow)
95 # - johnsnows:// (for https:// JohnSnow)
96 EN = corenlp://localhost:9000
97 FR = spacy://localhost:8001
98 All = corenlp://localhost:9000