Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Brunch with Hipsters example app that finds the top hackers of a github repo search.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 bower_components
Octocat-spinner-32 generators
Octocat-spinner-32 public
Octocat-spinner-32 test
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Cakefile
Octocat-spinner-32 Procfile
Octocat-spinner-32 README.md
Octocat-spinner-32 bower.json
Octocat-spinner-32 config.coffee
Octocat-spinner-32 package.json
Octocat-spinner-32 server.coffee
README.md

Brunch with Hipsters and Bootstrap

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 <appname> --skeleton git@github.com:elving/brunch-with-hipsters.git
$ bower install
$ 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.js and add any test helpers by editing test/helpers.coffee.

Something went wrong with that request. Please try again.