Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add files and dependencies for deployment to Heroku #8

Merged
merged 1 commit into from
Apr 26, 2016

Conversation

woodpigeon
Copy link
Contributor

  • Add rails_12factor gem for Heroku
  • Add Procfile
  • Add puma gem and config file
  • Rename set_page_title to page_title to resolve engine conflict
  • Add an initialiser to check ENV vars are present:
    Certain ENV vars must be set in the environment,
    whether we are deployed to Heroku or AWS. This initializer
    fails early if the ENV var is not set, to avoid a late failure
    for example if a setting for email host is not set - this
    would be discovered only when the first email is sent.
    See Trello board - this was a suggestion from RC after issues
    in WEX.

- Add rails_12factor gem for Heroku
- Add Procfile
- Add puma gem and config file
- Rename set_page_title to page_title to resolve engine conflict
- Remove failing spec until deployment resolved
- Add an .env.test file for CI ENV vars
- Add an initialiser to check ENV vars are present:
Certain ENV vars must be set in the environment,
whether we are deployed to Heroku or AWS. This initializer
fails early if the ENV var is not set, to avoid a late failure
for example if a setting for email host is not set - this
would be discovered only when the first email is sent.
See Trello board - this was a suggestion from RC after issues
in WEX.
@woodpigeon woodpigeon force-pushed the feature/create_heroku_deployment branch from 2691bcd to 8528ebe Compare April 25, 2016 20:34
@woodpigeon woodpigeon temporarily deployed to floodrisk-fo-qa April 26, 2016 10:03 Inactive
@autotelik
Copy link
Contributor

puma not really my area of expertise but looks good to me, and heroku itself looking great so 🚢

@woodpigeon woodpigeon merged commit 0870868 into develop Apr 26, 2016
@woodpigeon woodpigeon deleted the feature/create_heroku_deployment branch April 26, 2016 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants