fix mentor's comment about .gitignore

parent 3ed5edd3
Pipeline #994 canceled with stages
in 0 seconds
......@@ -30,6 +30,4 @@
# Ignore master key for decrypting credentials and more.
/config/master.key
config/settings.local.yml
config/settings/*.local.yml
config/environments/*.local.yml
config/local_env.yml
......@@ -11,7 +11,7 @@ module Venjob
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 5.2
config.before_configuration do
env_file = File.join(Rails.root, 'config', 'local_env.gitignore.yml')
env_file = File.join(Rails.root, 'config', 'local_env.yml')
YAML.load(File.open(env_file)).each do |key, value|
ENV[key.to_s] = value
end if File.exists?(env_file)
......
# Add account settings and API keys here.
# This file should be listed in .gitignore to keep your settings secret!
# Each entry gets set as a local environment variable.
# This file overrides ENV variables in the Unix shell.
# For example, setting:
# GMAIL_USERNAME: 'Your_Gmail_Username'
# makes 'Your_Gmail_Username' available as ENV["GMAIL_USERNAME"]
GMAIL_USERNAME: 'phuoc2811006@gmail.com'
GMAIL_PASSWORD: 'Phuoc123'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment