provision setup

This commit is contained in:
Yan
2017-10-09 14:46:58 +06:30
parent 0e72acdf30
commit 1916d33533
6 changed files with 75 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
config = YAML.load_file(Rails.root.join("config/sx.yml"))
config.fetch(Rails.env, {}).each do |key, value|
ENV[key.upcase] = value.to_s
end