Skip to content

Commit e56458a

Browse files
author
Shana Moore
committed
🎁 Set HYKU_GEONAMES_USERNAME
1 parent a513095 commit e56458a

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

config/initializers/hyrax.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@
2020
# Location autocomplete uses geonames to search for named regions.
2121
# Specify the user for connecting to geonames:
2222
# Register here: http://www.geonames.org/manageaccount
23-
config.geonames_username = 'jcoyne'
23+
config.geonames_username = ENV.fetch('HYKU_GEONAMES_USERNAME', 'jcoyne')
2424
end

ops/dev-deploy.tmpl.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ extraEnvVars: &envVars
9494
value: 'changeme@example.com'
9595
- name: HYKU_DEFAULT_HOST
9696
value: "%{tenant}.s2.adventistdigitallibrary.org"
97+
- name: HYKU_GEONAMES_USERNAME
98+
value: 'scientist'
9799
- name: HYKU_MULTITENANT
98100
value: "true"
99101
- name: HYKU_ROOT_HOST

ops/production-deploy.tmpl.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ extraEnvVars: &envVars
100100
value: "%{tenant}.b2.adventistdigitallibrary.org"
101101
- name: HYKU_FILE_ACL
102102
value: "false"
103+
- name: HYKU_GEONAMES_USERNAME
104+
value: 'scientist'
103105
- name: HYKU_MULTITENANT
104106
value: "true"
105107
- name: HYKU_ROOT_HOST

ops/staging-deploy.tmpl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ extraEnvVars: &envVars
9696
- name: FCREPO_REST_PATH
9797
value: rest
9898
- name: HYKU_GEONAMES_USERNAME
99-
value: 'jcoyne'
99+
value: 'scientist'
100100
# - name: GOOGLE_ANALYTICS_ID
101101
# value: $GOOGLE_ANALYTICS_ID
102102
# - name: GOOGLE_OAUTH_APP_NAME

0 commit comments

Comments
 (0)