Skip to content

Commit 3dddf96

Browse files
committed
[config] Add remaining environment variables to config screen
1 parent 8366716 commit 3dddf96

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

app/views/manage/configs/index.html.haml

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
%pre.mb-0= @config[key]
2424

2525
.col-lg-6.mb-3
26-
.card
26+
.card.mb-3
2727
.card-body
2828
%h5.card-title Environment Variables
2929
%h6.card-subtitle.mb-2.text-muted
@@ -32,3 +32,37 @@
3232
%p
3333
%b AWS S3 Bucket for Resumes:
3434
%pre= ENV['AWS_BUCKET'] || '[No value]'
35+
%p
36+
%b AWS S3 Region:
37+
%pre= ENV['AWS_REGION'] || '[No value]'
38+
%p
39+
%b AWS S3 Access Key ID:
40+
%pre= ENV['AWS_ACCESS_KEY_ID'] || '[No value]'
41+
%p
42+
%b AWS S3 Secret Access Key:
43+
%em= ENV['AWS_SECRET_ACCESS_KEY'].present? ? 'Set' : 'Not set'
44+
%hr
45+
%p
46+
%b Domain Name:
47+
%pre= ENV['HM_DOMAIN_NAME'] || '[No value]'
48+
%p
49+
%b Domain Protocol:
50+
%pre= ENV['HM_DOMAIN_PROTOCOL'] || 'https'
51+
%hr
52+
%p
53+
%b Sparkpost API Key:
54+
%em= ENV['SPARKPOST_API_KEY'].present? ? 'Set' : 'Not set'
55+
%p
56+
%b Sparkpost Campaign ID:
57+
%pre= ENV['SPARKPOST_CAMPAIGN_ID'] || '[No value]'
58+
%hr
59+
%p
60+
%b My MLH Application ID
61+
%pre= ENV['MLH_KEY'] || '[No value]'
62+
%p
63+
%b My MLH Secret
64+
%em= ENV['MLH_KEY'].present? ? 'Set' : 'Not set'
65+
%hr
66+
%p
67+
%b Rollbar Access Token:
68+
%em= ENV['ROLLBAR_ACCESS_TOKEN'].present? ? 'Set' : 'Not set'

0 commit comments

Comments
 (0)