-
Notifications
You must be signed in to change notification settings - Fork 4
Install Run
rbkreisberg edited this page Sep 13, 2012
·
3 revisions
-
Install the newest version of node (0.8.9 right now)
-
Clone the repository.
-
From the root of the directory, install all necessry node modules:
npm install -
Build and serve the project:
npm start
This starts Brunch (brunch.io) which will rebuild the project after any change is made to the file. It will watch .less, .hbs (handlebar templates), js, .html, .css, etc.
- Open your browser to http://localhost:3333
config.coffee controls the Brunch build job. It is in CoffeeScript (annoying) and is sensitive to indents. No curly brackets. Ugh. Otherwise it is a good set of options. configuration manual
If you're curious about bringing in other nodejs tools to work with the project, you can always install a new tool with npm. Special install parameters are needed to preserve that tool dependency in the package.json.