-
Notifications
You must be signed in to change notification settings - Fork 4
/
env.dist
executable file
·35 lines (27 loc) · 1.19 KB
/
env.dist
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
# Copy this file to .env or just set these environment variables
# default port is 3000
export PORT=3333
# hostname for this server according to your browser
# if they don't match then Persona will not work
export HOSTNAME="http://localhost:3333"
# secret used to sign cookie. any long string will do
export SECRET="irrelephant"
export OPTIMIZE_CSS=false
# Use a valid transifex user and password
export TRANSIFEX-AUTH="user:password"
export TRANSIFEX-PROJECT="webmaker"
# Use a valid GitHub user and password
# export GITHUB_AUTH='{ "user": "Your User Name.", "password": "Your Password." }'
export STATIC_MIDDLEWARE='{ "maxAge": "0" }'
# cache setup: you have 3 options:
# 1) redis
# REDIS_URL, REDISCLOUD_URL, or REDISTOGO_URL - The URL of the Redis server used for caching. Defaults to none.
# 2) memcache
# MEMCACHED_URL - The URL of the Memcached server used for caching. Defaults to none.
# 3) in-memory cache (default)
#
# All cache backends allow you to set an expire time in seconds (default is 15 mins)
# CACHE_EXPIRE - The number of seconds to cache responses. Defaults to 3600 seconds (i.e., 1 hour).
#
# How often to update cache entries in ms (default is 60 * 10 * 1000, 10 mins)
# CACHE_UPDATE