Getting started:

Install grunt / grunt-init:

juggler depends on grunt.js  as task runner and grunt-init for template scaffolding:

npm install -g grunt-cli
npm install
-g grunt-init

Add template to grunt-init:

git clone git://github.com/jamuhl/juggler-init-demo.git ~/.grunt-init/juggler-demo

Right now we provide only the demo template - other templates will follow.

Create a new project:

mkdir myapp
cd myapp
// init juggler project template
grunt
-init juggler-demo
// -> for now you will need to set path and projectname in Gruntfile.js file

Add a device:

// create iOS phonegap application
grunt iOS
:create
// build webapp
grunt iOS
:build
// start iOS emulator (brew install ios-sim -- to use sim from commandline)
grunt iOS
:emulate

To develop for Android just use same commands for android, eg: grunt android:create

Test / Debug App in Browser:

// build debug app
grunt iOS
:boil
// start built in server
grunt server
// -> head your browser to localhost:8000

You might want to try the Ripple Emulator for better testing device functionality in chrome browser.