Tanooki Rails Template

This repository holds the Rails application template referred to in our kickoff developer guide.

Usage

  1. Find the newest version of ruby that heroku supports that has been released for more than 6 months and make sure you're using it (via ruby --version)
  2. install rails and bundler globally
    gem update --system
    gem install rails --no-document
    gem update bundler
  3. Clone or create a directory for your rails app and move into it
  4. Run rails new with the template with these commands:
    # make sure you're up to date!
    rails --version 
    rails new example-project-name \
          --database=postgresql \
          --skip-javascript \
          --skip-test \
          --skip-action-mailbox \
          --skip-action-text \
          --skip-jbuilder \
          --template=https://raw.githubusercontent.com/TanookiLabs/tanooki-rails-template/master/template.rb
  • Clean up Gemfile
  • Refer back to the kickoff guide and make sure you've followed the Heroku Checklist
  • setup authentication with devise if applicable
  • setup authorization with action policy if applicable