Skip to content

A base client Project with GruntJS, WebMake, CJS, Backbone and Backbone Marionette

Notifications You must be signed in to change notification settings

pjnovas/base-client-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

base-client-project

A base client Project with GruntJS, WebMake, CJS, Backbone and Backbone Marionette

How to

NodeJS v0.8.x is required

Install GruntJS

This will put the grunt command in your system path

Installing GruntJS CLI

If you have installed grunt globally in the past (version 0.3.x), you will need to remove it first:

npm uninstall -g grunt

In 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-cli

More Info at GruntJS: Getting Started

Install Dependencies

npm install

Compile the project

Run the following command at root of project

Develop Enviroment

grunt

Stagging Enviroment

grunt stage

Production Enviroment (Stagging and minified)

grunt prod

these 3 commands will compile all the project and leave the compiled files /dist

FileSystem Watcher

Only for Develop Enviroment

To set a watcher, so you wont need to be running grunt every time a change is made, run:

grunt watch

or

grunt w

So, everytime a file is saved inside /app it will run the compilation again

Using Mockups

Install a Static Server tool (i.e. wup)

npm install -g wup

Step up on folder ./mockups and run

cd mockups/
wup

Open your browser and go to http://localhost:8080

About

A base client Project with GruntJS, WebMake, CJS, Backbone and Backbone Marionette

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published