• Stars
    star
    112
  • Rank 312,240 (Top 7 %)
  • Language
    CoffeeScript
  • Created over 12 years ago
  • Updated about 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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 [email protected]:elving/brunch-with-hipsters.git
$ brunch w -s

or

$ git clone [email protected]:elving/brunch-with-hipsters.git
$ npm install
$ bower install
$ brunch w -s

or

$ git clone [email protected]: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