This template configures a Rails 5 app for production level readiness on Heroku. It's highly opinionated about the technologies used. If you build SPA's, this is not for you. This is for those who build The Rails Way.
- Zurb Foundation 6
- Zurb Foundation for Emails
- Font Awesome
- Slim
- Foreman
- dotenv-rails
- Sidekiq
- Dalli
- AASM
- Meta Request
- Mailcatcher
- Rails ERD
- Annotate
- Meta Tags
- Rollbar
- Rails 5.0
- Ruby 2.3.3
- Bundler
- Git
- Redis
- Memcached
- Heroku account with Memcache, Redis, and Sendgrid addons
- RailsPanel
- Mailcatcher
- Graphviz
- Generates a pages controller with an index mapped to root_url.
brew install graphviz redis memcached
git clone [email protected]:cwsaylor/rails-quickstart.git
rails new APPNAME -m ./rails-quickstart/base.rb -d postgresql
cd APPNAME
foreman start
Navigate to http://0.0.0.0:3000
You will want to secure your sidekiq job admin. http://0.0.0.0:3000/sidekiq
See here: https://github.com/mperham/sidekiq/wiki/Monitoring
heroku create
heroku addons:create sendgrid:starter
heroku addons:create heroku-redis:hobby-dev
heroku addons:create memcachier:dev
heroku addons:create rollbar:free
heroku addons:create newrelic:wayne
git push heroku master
heroku run rake db:migrate
heroku restart
Set the NEW_RELIC_LICENSE_KEY and ROLLBAR_ACCESS_TOKEN environment variables in .env to use in development mode.
heroku config -s | grep ROLLBAR_ACCESS_TOKEN >> .env
heroku config -s | grep NEW_RELIC_LICENSE_KEY >> .env
bundle exec erd
open erd.pdf
mailcatcher
Go to http://localhost:1080/
annotate
I would like to thank Daniel Kehoe for the awesome Rails 3 template tutorial: http://github.com/fortuity/rails3-mongoid-devise
Copyright (c) 2010 Christopher Saylor. See LICENSE for details.