Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A distillation of my best practices as a Rails template. Will create an application and launch it into Heroku at the push of a button.
Ruby Shell JavaScript
Tree: 27ca734681

Major update.

Updated bunch of gems, jquery, plugins, etc.
latest commit 27ca734681
Tammer Saleh authored
Failed to load latest commit information.
assets Major update.
gold Major update.
.gitignore moved files over
README.textile
diff.sh Version fixing
run.sh Version fixing
template.rb Major update.

README.textile

Bushido

This is the template I use on my new applications. It’s very specifically geared for the tools I use, and includes some of my coding idioms. The gold directory is a great example of what an app created with this template will end up looking like.

This template includes:

Full user system

  • Authentication via Authlogic,
  • Streamlined user registration initially requiring just email address
  • User confirmation/activation

Configured for Heroku

Including .gems manifest and automatic app creation.

This template will create a new, free, heroku app automatically. BEWARE

User avatars in Amazon S3 via Paperclip

Blueprint based default style

Plugins & Gems:

To use:

It’s a good idea to have some info handy, including:

  • The hoptoad key for the new project
  • A gmail email address and password for configuring outgoing email
  • The S3 key and secret for paperclip avatars

Once you’ve got that, run:

rails myapp -m http://github.com/tsaleh/bushido/raw/master/template.rb

You can also supply the configuration values on the commandline:

rails myapp -m http://github.com/tsaleh/bushido/raw/master/template.rb -- --s3_key=foo

Note the extra ‘—’ in there, which must come before the rest of the options. The supported options are:

  • —hoptoad_key
  • —gmail_username
  • —gmail_password
  • —s3_key
  • —s3_secret

AGAIN: This template will create a new, free, heroku app automatically.

Todo:

Something went wrong with that request. Please try again.