This repository has been archived by the owner on Jul 16, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 99
/
env.dist
89 lines (63 loc) · 2.81 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
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
# Copy this file to .env or just set these environment variables
# Webmaker profile 2. Should include /user
export PROFILE_URL="http://localhost:1969/user"
# For Webmaker Events - https://github.com/mozilla/webmaker-events-2
export EVENTS_URL="http://localhost:1981"
# teach.webmaker.org
export TEACH_URL="https://teach.webmaker.org"
# default port is 7777
export PORT=7777
# Link supplied to the login server when a user requests a login.
export LOGIN_EMAIL_URL="http://localhost:7777"
# Cluster options
export RESTART=1
export FORKS=2
# List flags: FLAG_XYZ => flags.xyz
# FLAGS_HOUROFCODE: true | false
# Displays the 'Hour of Code' campaign message.
export FLAGS_HOUROFCODE=false
# Badges
export BADGES_ENDPOINT=https://badgekit-api.mofostaging.net
export BADGES_KEY=master
export BADGES_SECRET=
export BADGES_SYSTEM=webmaker
export BACKPACK_PUSH_URL=https://backpack.openbadges.org/issuer/frameless
# API is available at mozilla/MakeAPI
# default API endpoint is http://makeapi.mofostaging.net
export MAKE_ENDPOINT="http://localhost:5000"
# make authentication - private and public keys must be generated by the MakeAPI
export MAKE_PRIVATEKEY="00000000-0000-0000-000000000000"
export MAKE_PUBLICKEY="00000000-0000-0000-000000000000"
# API is available at mozilla/login.webmaker.org
# default Persona SSO is http://localhost:3000
export AUDIENCE="http://localhost:7777"
# Set NODE_ENV to development for testing
export NODE_ENV="development"
# Where can we find the login API endpoint
export LOGIN="http://localhost:3000"
# What is our fully qualified login API acces point?
export LOGINAPI="http://testuser:password@localhost:3000"
# Persona locations - UNCOMMENT FOR USE WITH LOCAL PERSONA
#export PERSONA_HOSTNAME="http://localhost:10002"
#export PERSONA_VERIFIER_URI="http://localhost:10000/verify"
# And a cookie secret
export SESSION_SECRET="dummy secret value"
# A domain for webmaker super cookies
# You should only set this when running in a non-localhost environment
export COOKIE_DOMAIN=""
# Is this server running behind an SSL-enabled load-balancer?
export FORCE_SSL=false
# Google Analytics info
export GA_ACCOUNT=""
export GA_DOMAIN=""
# Set to true to enable GELF formatted logging. setting to false will enable express.logger for logging.
export ENABLE_GELF_LOGS=false
# i18n Language Support
export SUPPORTED_LANGS='[ "*" ]'
# Point to Prerender service for bot usage (SEO)
# Test locally by installing from: https://github.com/prerender/prerender
# It's best to put this service on a port other than 3000 (default) to avoid collisions with WM Login server
# Use this URL scheme to test: http://localhost:7777/?_escaped_fragment_=STRING_AFTER_#!
export PRERENDER_SERVICE_URL=http://localhost:3001
# Point to the domain that houses the xray goggles library
export XRAY_GOGGLES_URL=http://goggles.mozilla.org