diff --git a/.gitignore b/.gitignore index d752ad4..160c8ab 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,7 @@ # Ignore master key for decrypting credentials and more. /config/master.key +/config/database.yml /public/packs /public/packs-test /node_modules diff --git a/config/database.yml b/config/database.example.yml similarity index 97% rename from config/database.yml rename to config/database.example.yml index edd8045..bf6a2f7 100644 --- a/config/database.yml +++ b/config/database.example.yml @@ -27,6 +27,7 @@ development: test: <<: *default database: chexpire_test + url: <%= ENV['DATABASE_URL'] %> # As with config/secrets.yml, you never want to store sensitive information, # like your database password, in your source code. If your source code is