-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathflaskenv.template
33 lines (29 loc) · 1.04 KB
/
flaskenv.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FLASK_APP=conp.py
FLASK_ENV=development
FLASK_DEBUG=0
DATABASE_URL=sqlite:///<ENTER FLASK TOP DIR>/app.db
SECRET_KEY=you-will-never-guess
DATA_PATH=${HOME}
# DATASET_CACHE_PATH is the location where zipped datasets are kept.
DATASET_CACHE_PATH=${HOME}/.cache/conp-dataset
SQLALCHEMY_TRACK_MODIFICATIONS=False
MAIL_SERVER=smtp.googlemail.com
MAIL_PORT=587
MAIL_USE_TLS=1
MAIL_USERNAME=<Your gmail user name>
MAIL_PASSWORD=<Your gmail app specific password, not your normal one>
OAUTHLIB_INSECURE_TRANSPORT=1
USE_ORCID_OAUTH_SANDBOX=<1 if testing 0 if not>
ORCID_OAUTH_CLIENT_ID=<ORCID CLIENT ID>
ORCID_OAUTH_CLIENT_SECRET=<ORCID SECRET ID>
ORCID_TOKEN_URL=https://orcid.org/oauth/token
ADMIN_EMAIL = <Your gmail>
WEBHOOKS_SECRET=<github webhook secret>
MATOMO_SERVER_URL=<Your Matomo base URL> ## no http:// or https://
MATOMO_SITE_ID=<Your Matomo site ID>
MATOMO_TOKEN_AUTH=<Your Matomo token auth>
# GITHUB CREDENTIALS FOR MARKDOWN RENDERER (OPTIONAL)
GITHUB_USER=
GITHUB_PAT=
# FOR ARK ID GENERATION
ARK_CONP_NAAN=99999 # FOR DEV INSTALLATION ALWAYS USE 99999