-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault_env
31 lines (31 loc) · 1.34 KB
/
default_env
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
# Port where the flask server should execute
FLASK_PORT=16969
# This is a default version of the '.env' file
# You should copy this file into a new file called '.env'
# and then change the values to match your environment
POSTGRES_DB='development.db'
POSTGRES_USER='user'
POSTGRES_PASSWORD='password'
# This is the directory where the database will be stored
# It is recommended to use a large disk for this
# as the database can grow to be very large
POSTGRES_DATABASE_DIRECTORY='path/to/large/disk'
# It is important to run regular backups of the database
# so that we do not loose all of our data. You need to
# provide the username, server name and path to the
# private key for the server that you want to backup to
BACKUP_SERVER_USERNAME='username'
BACKUP_SERVER_NAME='server.name'
BACKUP_SERVER_PORT='22'
BACKUP_SERVER_PRIVATE_KEY_PATH='path/to/private/key'
BACKUP_REMOTE_PATH='path/to/remote/backup/directory'
# In order to provide Oauth authentication for the API
# you need to provide the client id and client secret
# for the application that you have created in ORCID
ORCID_CLIENT_ID='orcid_client_id'
ORCID_CLIENT_SECRET='orcid_client_secret'
# We also need to set the login variables for the
# sirius executable. These are the mail and password,
# with the email being an academic email address.
SIRIUS_USERNAME='[email protected]'
SIRIUS_PASSWORD='password'