-
Notifications
You must be signed in to change notification settings - Fork 9
/
.env-sample
executable file
·61 lines (53 loc) · 1.71 KB
/
.env-sample
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/bin/bash
# Guide:
#
# 1. Copy this file to .env
#
# cp .env-sample .env
#
# 2. Fill the blanks
export NODE_ENV=development
export PORT=9000
export DATABASE_URL=postgres://wappu:[email protected]:5432/wappuapp
export DISABLE_AUTH=true
export API_TOKEN=token
export OLD_API_TOKENS=
export REDIS_URL=redis://wappu:[email protected]:2345
export GCS_AUTH_URI=https://accounts.google.com/o/oauth2/auth
export GCS_TOKEN_URI=https://accounts.google.com/o/oauth2/token
export GCS_TYPE=service_account
export GCS_BUCKET_NAME=
export GCS_PROJECT_ID=
export GCS_PRIVATE_KEY_ID=
# This is a base64 encoded string of the private key
export GCS_PRIVATE_KEY=
export GCS_CLIENT_EMAIL=
export GCS_CLIENT_ID=
export GCS_AUTH_PROVIDER_X509_CERT_URL=
export GCS_CLIENT_X509_CERT_URL=
export GSHEETS_API_KEY=
export GSHEETS_EVENTS='[{"id": "<id>", "city": "<Cityname>"}]'
# Facebook Graph API details
export FB_APP_ID=
export FB_APP_SECRET=
# In 's' how often posts get +1 baseline hotness score.
export FEED_INFLATION_INTERVAL=45000
# January 1st, 2017. Time of 0 baseline hot score.
export FEED_ZERO_TIME=1483228800
# Base logarithm for calculating diminishing returns votes have on hot score.
export FEED_BASE_LOG=9
# Default radius in 'm' within which user can check into the event.
export DEFAULT_EVENT_RADIUS=400
# Date in ISO format which defines the start of returned date range. Inclusive.
export MOOD_START_DATE=2017-03-14T22:00:00.000Z
# Date in ISO format which defines the end of returned date range. Exclusive.
export MOOD_END_DATE=2017-05-02T22:00:00.000Z
# Set prompt prefix
PREFIX="[wappu] "
if [[ $PS1 != *"$PREFIX"* ]]
then
export PS1="$PREFIX $PS1"
echo "Environment variables set!"
else
echo "Environment variables updated!"
fi