grunt-angular-phonegap-example
January 5, 2014 ยท View on GitHub
An example project with dsimard/grunt-angular-phonegap
Getting started
-
Clone this project
git clone https://github.com/dsimard/grunt-angular-phonegap-example.git && cd grunt-angular-phonegap-example/ -
Install npm modules
npm install -
Install bower dependencies
bower install -
Add a mobile platform
cordova platform add android -
Build the project
grunt phonegap:build -
Start an emulator
grunt phonegap:emulate
Commits
Here are the commits from the different steps when I started the project.
Step 1
Create phonegap project : 0426f3b
Step 2
User latest phonegap version : 12af00d
Step 3
Initialize angular application : 58bf8bb
You will be ask to overwrite .gitignore. Do not accept. Instead, press d for difference
and copy the added lines in your clipboard to paste later. Then press n for no.
Step 4
Add grunt-angular-phonegap to the app : c943348
Step 5
Load npm tasks (grunt.loadNpmTasks("grunt-angular-phonegap");) : fb931bc
Step 6
Add a platform : cordova platform add [platform] (no commit)
Step 7
grunt phonegap:check (no commit)
Step 8
grunt phonegap:build
Step 9
grunt phonegap:emulate