Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 1.66 KB

README.md

File metadata and controls

58 lines (42 loc) · 1.66 KB

RADAR-Questionnaire

bitHound Dependencies bitHound Dev Dependencies

Hybrid mobile application to actively capture data for the RADAR-CNS Platform.

Note

We use the Ionic 2 framework, which is built with Angular 2 and wraps Apache Cordova.

Install

First install Node.js and Yarn.

Globally install ionic and cordova:

$ npm install -g ionic cordova

In the project folder run yarn to install dependencies:

$ yarn

To run the application in the browser use:

$ ionic serve

Android

To add the Android platform. You need to have the Android SDK pre installed. This step also adds the plugins listed in config.xml to the project.

$ ionic platform add android

Run the app in an Android device:

$ ionic run android

Run the app in an Android emulator:

$ ionic emulate android

Ionic State Reset

Ionic CLI provides a simple command to reset and install the state set in package.json. This command removes and reinstalls all platforms and plugins listed.

$ ionic state reset

You can also save the current state to package.json.

$ ionic state save