A base client Project with GruntJS, WebMake, CJS, Backbone and Backbone Marionette
NodeJS v0.8.x is required
Install GruntJS
This will put the grunt command in your system path
If you have installed grunt globally in the past (version 0.3.x), you will need to remove it first:
npm uninstall -g gruntIn order to get started, you'll want to install grunt's command line interface (CLI) globally. You may need to use sudo (for OSX, *nix, BSD etc) or run your command shell as Administrator (for Windows) to do this.
npm install -g grunt-cliMore Info at GruntJS: Getting Started
npm installRun the following command at root of project
gruntgrunt stagegrunt prodthese 3 commands will compile all the project and leave the compiled files /dist
Only for Develop Enviroment
To set a watcher, so you wont need to be running grunt every time a change is made, run:
grunt watchor
grunt wSo, everytime a file is saved inside /app it will run the compilation again
Install a Static Server tool (i.e. wup)
npm install -g wupStep up on folder ./mockups and run
cd mockups/
wupOpen your browser and go to http://localhost:8080