Rails 5 template based on http://guides.rubyonrails.org/rails_application_templates.html
first, ensure that you're using the right ruby version:
rbenv shell 2.4.2
next, build the project:
rails new myapp -m ~/new-project-template/template.rb -d postgresql -T --skip-turbolinks --webpack=react
you can optionally specify the following flags:
--api: if you are building an API-only service--skip-action-cable,--skip-action-mailer: if you don't need certain functionality
- Install postgres, redis, newrelic, rollbar, papertrail
- If needed: sendgrid
- Set ENV:
APP_ENV: productionCANONICAL_HOST: www.yoursite.comFORCE_SSL:falseif using Cloudflare Force SSL,trueotherwiseROLLBAR_ENABLED:true
- SSL: Select
SSL: Fulloption - CNAME: For heroku, use
*.herokuapp.cominstead of providedherokudns.com. See details