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

6
config/initializers/secrets.rb Executable file
View File

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