npm install -g 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.
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
// 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
// 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.