cookieshq / hebillas

New version of our Rails template, working on top of Suspenders
20 stars 2 forks source link

HEBILLAS: The suspenders companion

thoughtbot's Suspenders makes a fantastic base for any new Rails project, but it's also very opinionated.

Using it, we found ourselves changing elements to suits more our stack.

Thankfully, under the hood, using suspenders is the same as using rails new, so it allows us to apply a rails template on top of it, and tweak it to our need.

We found this approach more suitable than maintaining a fork, or asking the lovely guys at thoughbot to comply with our need.

If you're thinking about extending Hebillas, just make sure not to make your change as mandatory, and always ask users if they want the change to be applied.

Requirements

This template is based to work on top of thoughtbot's Suspenders (v1.37).

How to use

Assuming that you have Suspenders installed, you'll need to checkout the repo:

git clone git@github.com:cookieshq/hebillas.git

And then run suspenders, passing the template:

suspenders app_name -m hebillas/template.rb

It will ask you if you want to install certain gems and install them for you, along with other goodies. In the end, it will ask you if you want your database to be migrated.

What to do after

List of gems installed

This list does not include dependencies of the gems listed!

On the development group:

On the test and development groups:

On the test group:

Also it:

Future improvements