Skip to content

This is a template ready for production with rails 4 and Heroku. Integrated with sass, easily customizable bootstrap, unicorn, postgres, figaro, coffeescript, and slim

Notifications You must be signed in to change notification settings

jbhatab/rails-heroku-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Production ready Rails 4 and Heroku template

This template contains the following:

  • Ruby 2.2.0

  • Sass

  • Bootstrap with variable customization setup

  • Coffeescript

  • Slim

  • Postgres

  • Unicorn

  • Figaro

  • rails_12factor for Heroku

Setup

git clone [email protected]:jbhatab/rails-heroku-template.git

bundle install

Create /config/application.yml file for enviroment variables. Example is in config folder.

Install postgres on local machine

rake db:create

rake s. This is a rake task that runs unicorn.

Note: When pushing to production use figaro’s command to send config vars,

rake figaro:heroku

or

rake figaro:heroku to pass the heroku app name

Use uptime robot or pingdom to remove downtime on heroku’s free worker dyno.

About

This is a template ready for production with rails 4 and Heroku. Integrated with sass, easily customizable bootstrap, unicorn, postgres, figaro, coffeescript, and slim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published