2018-09-20 14:03:23 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2020-04-10 13:03:34 +02:00
|
|
|
# Volumes
|
|
|
|
CC_CONF="${VOLUMES_DIR}/crisiscleanup/cc_conf"
|
|
|
|
|
|
|
|
# Replacements
|
|
|
|
sed -i "s|\(^ config\.mailer_sender = \).*|\1'${EMAIL}'|" ${CC_CONF}/initializers/devise.rb
|
|
|
|
sed -i "s|\(^ENV['GOOGLE_MAPS_API_KEY'] = \).*|\1${GMAPS_API_KEY}|" ${CC_CONF}/boot.rb
|