Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Brunch with Hipsters

image

Brunch with Hipsters is a rad Brunch app skeleton that comes with unicorns out of the box. Take a look at Hackerank (an example app) to see how it works. Brunch with Hipsters was awesome before awesome was awesome.

Languages

Features

Plugins

Getting started

$ brunch new git@github.com:elving/brunch-with-hipsters.git
$ brunch w -s

or

$ git clone git@github.com:elving/brunch-with-hipsters.git
$ npm install
$ bower install
$ brunch w -s

or

$ git clone git@github.com:elving/brunch-with-hipsters.git && npm install && $ bower install && brunch w -s

Generators

First install scaffolt:

npm install -g scaffolt

Then you can use the following commands to generate files:

scaffolt view <name>
    → app/views/name.coffee
    → test/views/name_test.coffee

scaffolt model <name>
    → app/models/name.coffee
    → test/models/name_test.coffee

scaffolt style <name>
    → app/views/styles/name.styl

scaffolt template <name>
    → app/views/templates/name.hbs

scaffolt collection <name>
    → app/collections/name.coffee
    → test/collections/name_test.coffee

scaffolt module <name>
    → app/views/name.coffee
    → test/views/name_test.coffee
    → app/models/name.coffee
    → test/models/name_test.coffee
    → app/views/styles/name.styl
    → app/views/templates/name.hbs

Testing

To run your tests using Karma you will need to install phantomjs:

brew update && brew install phantomjs

Run the tests:

cake test

Build and test your app:

cake build:test

You can change Karma's configuration by editing test/karma.conf.coffee and add any test helpers by editing test/helpers.coffee.

Bitdeli Badge

About

Brunch with Hipsters is a rad Brunch app skeleton that comes with unicorns out of the box.

Resources

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
You can’t perform that action at this time.