Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
a web project boilerplate use guard and sprockets to watch and compile your static assets
Ruby CoffeeScript JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
public/assets
spec
vendor
.gitignore
Gemfile
Gemfile.lock
Guardfile
README.md
Rakefile
sprockets_helper.rb

README.md

guard-sprockets-boilerplate

A web project boilerplate use guard and sprockets to watch and compile your static assets

What it does

  • Compile assets (stylesheets (css/scss), javascripts(js/coffee) and images) into /public/assets
  • Run jasmine using headless webkit

Installation

Before using the boilderplate, install the dependencies:

bundle install

You will also need to install jasmine-headless-webkit and its dependencies first.

Usage

Start development by running the gaurd command:

bundle exec guard start

Guard will watch the app folder and compile javascripts, coffeescripts, SASS and css.

Put your application images, javascripts and stylesheets into app/images, app/javascripts and app/stylesheets.

Put your vendor images, javascripts and stylesheets into vendor/images, vendor/javascripts and vendor/stylesheets.

Configuration

Edit config/assets.yml for additional files to asset pipeline.

Something went wrong with that request. Please try again.