Install cordova and ionic globally with npm install -g cordova ionic
.
Go into builder/
directory and do an npm and bower install by running the commands:
npm install
- will install npm dependencies
npm run bower install
- will install npm dependencies
npm run gulp
- will build the www directory, watch the dev directory for changes and update accordingly
Any changes to the code is to be made in the dev directory.
Install the dependencies by running ionic state reset
and add Image Detection Plugin ionic plugin add https://github.com/Cloudoki/ImageDetectionCordovaPlugin.git
for git or clone the repository and run ionic plugin add ../path/to/ImageDetectionCordovaPlugin
Add platform ionic platform add ios
Build ionic build ios
Open Xcode in platform/ios/ to test on device.
Add platform ionic platform add android
Build ionic build android
Run on device/emulator ionic run android