Blueberry Rails Build Status

A Rails application template used at Blueberry Apps.

Installation

Install the gem:

$ gem install blueberry_rails

Then you can run

$ blueberry_rails newproject

Available options

Translation Engine

--translation-engine

Custom Erros

--custom-errors

Fontcustom

--fontncustom

Twitter bootstrap

--bootstrap

Devise

--devise

Devise model

--devise_model User

Use Gulp instead of Asset Pipeline

--gulp

Gems

Blueberry Rails template contains following gems by default:

Testing related:

Gulp

Based on Gulp on Rails: Replacing the Asset Pipeline and corresponding GitHub repository.

Additional articles

Usage

$ blueberry_rails newproject --gulp
$ npm install

Default Gulp task, compiles stylesheets/javascripts and starts BrowserSync (for frontend dev)

$ gulp

Compile all assets w/o BrowserSync (for backend dev)

$ gulp development

Generate production ready assets (including fingerprinting)

$ gulp build

Start BrowserSync

$ gulp watch

Optimize image size

$ gulp images

Generate font icons from SVGs

$ gulp fontIcons

Add fingerprints to assets

$ gulp rev

Remove all assets

$ gulp clean

Other great stuff

  • Do not secret token in the repo - load it via ENV variable
  • Default Slim application layout
  • Generates User model by default (via devise)
  • Partial for displaying flash messages in the default layout

Credits

Based on suspenders gem by thoughtbot.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request