-
Install Node. If you're on OSX, there's a handy pkg installer available on the node homepage. This is the recommended method of installation.
-
Install the Grunt CLI as a global node package.
npm install -g grunt-cli
-
Install the dependencies for the project. From the root of this repo, run
npm install
. This will read the packages.json file and install packages into./node_modules
.
-
Run
grunt deploy
, this will compile the style sheets and scripts. -
The built assets are now in
./release
.
We use Grunt to manage many development, compilation, and build
tasks. For a list of all tasks available in this project, see the
Gruntfile. Simply run grunt
to get started.
To specify a port for your server grunt --port 1234
- Keep it under 80 columns
- If you are returning html, always surround it in parens
- If you have large html conditionals, break them out into sub-render methods
gl reading this code, its all functional garbage (kevin's note to self)