Firestarter

Build Status Code Climate

Firestarter is the base Rails application used at Group Buddies.

Installation

First install the firestarter gem:

gem install gb-firestarter

Then run:

firestarter projectname

This will create a Rails app in projectname.

By default this script creates a new git repository. See below if you want to use it against an existing repo.

Gemfile

To see the latest and greatest gems, look at Firstarter's Gemfile, which will be appended to the default generated projectname/Gemfile.

It includes application gems like:

And gems only for staging and production like:

And development gems like:

And testing gems like:

Other goodies

Firestarter also comes with:

Firestarter fixes several of Rails' insecure defaults:

  • Firestarter uses Puma instead of WEBrick, allowing less verbose Server headers.
  • Firestarter is configured to pull your application secret key base from an environment variable, which means you won't need to risk placing it in version control.

Git

This will initialize a new git repository for your Rails app. You can bypass this with the --skip-git option:

firestarter app --skip-git true

Dependencies

Firestarter requires Ruby 2.1.0 or greater.

Some gems included in Firestarter have native extensions. You should have GCC installed on your machine before generating an app with Firestarter.

Use OS X GCC Installer for Snow Leopard (OS X 10.6).

Use Command Line Tools for XCode for Lion (OS X 10.7) or Mountain Lion (OS X 10.8).

We use Capybara Webkit for full-stack Javascript integration testing. It requires QT. Instructions for installing QT are here.

PostgreSQL needs to be installed and running for the db:create rake task. See Postgres.app for Mac OS.

Issues

If you have problems, please create a Github Issue.

Contributing

Please see CONTRIBUTING.md for details.

Credits

Firestarter is largely inspired by thoughtbot's suspenders, so thank you thoughtbot.

groupbuddies

Firestarter is maintained by Group Buddies.

License

Firestarter is © 2014 GB-Software As A Service, Lda. It is free software and may be redistributed under the terms specified in the LICENSE file.