Skip to content

ionic setup

mdublin edited this page Jun 21, 2017 · 11 revisions

$ git clone https://github.com/votesmart/onpoint.git

$ cd onpoint/www/lib

$ rm -rf votesmartjs

$ git clone https://github.com/votesmart/votesmartjs.git

$ cd ../..

$ git submodule init

ignore warning about angular-soap

$ git submodule update

$ cd onpoint/www/lib/votemsartjs

$ git checkout two

$ npm install

$ npm install -g ionic

$ npm install -g cordova

$ gulp

until this is added to master branch:

$ cordova plugin add uk.co.workingedge.phonegap.plugin.launchnavigator

$ ionic cordova add platform ios

respond Y to everything

$ ionic cordova platform add ios

$ ionic cordova platform add android

$ ionic cordova build ios

$ ionic cordova build android

See here for emulator configuration

Clone this wiki locally