rubyforgood / share_christmas

Share Your Holiday Application
4 stars 3 forks source link

Configure app to deploy to heroku #32

Closed AEgan closed 8 years ago

AEgan commented 8 years ago

Makes necessary changes to be able to deploy to heroku. Moves sensitive hard coded strings to environment variables and adds dotenv to manage them. The default load order will be .env -> .env.(environment name) -> .env.local -> environment variables. This means variables added with

heroku config:set NAME=value

as described here will override values in .env allowing us to more securely manage email addresses and passwords.

You can check out the app here. We should change that url from cryptic-escarpment-25093 to something more descriptive later.

I'm having some troubles caused by how I set up rbenv, and cannot install 2.3.1. I think in production it would be best to use 2.3.1 for security purposes, but I can't configure the ruby version in the Gemfile and install dependencies with 2.3.1 on my own machine.

AEgan commented 8 years ago

closes #28