/
environment.sh
92 lines (71 loc) · 2.39 KB
/
environment.sh
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# Copy this file to /etc/blot/environment.sh and fill it in
# Flags
export NODE_ENV=production
export BLOT_CACHE=true
export BLOT_MAINTENANCE=false
export BLOT_DEBUG=false
# Server configuration
export BLOT_HOST=
export BLOT_IP=
export BLOT_DIRECTORY=
export NODE_PATH=$(cd $BLOT_DIRECTORY/app; pwd) # same as BLOT_DIRECTORY/app, but must be absolute
export BLOT_CACHE_DIRECTORY=
# During local development we forward requests using
# localhost.run through a domain we own
export BLOT_WEBHOOK_FORWARDING_HOST=
# Remove these eventually
export BLOT_PROTOCOL=https
# Postgres configuration
export BLOT_POSTGRES_USER=postgres
export BLOT_POSTGRES_HOST=localhost
export BLOT_POSTGRES_DB=blot
export BLOT_POSTGRES_PASSWORD=
export BLOT_POSTGRES_PORT=5432
# Name of linux user who runs the blot server
export BLOT_USER=
# Use latest stable version which passes tests
export BLOT_NODE_VERSION=16.14.0
# result of which pandoc
export BLOT_PANDOC_PATH=
# Scripts and variables used by Upstart
export BLOT_START=$BLOT_DIRECTORY/scripts/production/start_blot.sh
export BLOT_MAIN=$BLOT_DIRECTORY/app
export BLOT_LOG=$BLOT_DIRECTORY/logs/app.log
# Admin information
export BLOT_ADMIN_UID=
export BLOT_ADMIN_EMAIL=
#############################################
# S E C R E T S #
#############################################
export BLOT_SESSION_SECRET=
export BLOT_BACKUP_SECRET=
# Stripe for payment processing
export BLOT_STRIPE_KEY=
export BLOT_STRIPE_SECRET=
# Dropbox for folder syncing
export BLOT_DROPBOX_APP_KEY=
export BLOT_DROPBOX_APP_SECRET=
export BLOT_DROPBOX_FULL_KEY=
export BLOT_DROPBOX_FULL_SECRET=
# Dropbox credentials for testing purposes
export BLOT_DROPBOX_TEST_ACCOUNT_ID=
export BLOT_DROPBOX_TEST_ACCOUNT_APP_TOKEN=
export BLOT_DROPBOX_TEST_ACCOUNT_FULL_TOKEN=
# Youtube for fetching video player codes
export BLOT_YOUTUBE_SECRET=
# AWS for uploading images to Blot's CDN
export BLOT_AWS_KEY=
export BLOT_AWS_SECRET=
# AWS for controlling route 53 for wildcard SSL certficate
export AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=
# Mailgun for sending emails to customers
export BLOT_MAILGUN_KEY=
# Twitter for fetching embed codes
export BLOT_TWITTER_CONSUMER_KEY=
export BLOT_TWITTER_CONSUMER_SECRET=
export BLOT_TWITTER_ACCESS_TOKEN_KEY=
export BLOT_TWITTER_ACCESS_TOKEN_SECRET=
# Google Drive client for folder syncing
export BLOT_GOOGLEDRIVE_ID=
export BLOT_GOOGLEDRIVE_SECRET=