Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 1.14 KB

README.md

File metadata and controls

37 lines (30 loc) · 1.14 KB

Setup Instruction

Follow the below steps for setup in your local system.

Dependencies

  • NPM Version - 3.5.2
  • Node JS Version - above 6
  • Cordova Version - 8.0.0
  • Ionic Version - 3.20.0
  • Android SDK

Build sunbird module

Setup sunbird-mobile

  • git clone the repo.
  • rename sunbird.properties.example file to sunbird.properties and put all the valid credentials and api endpoint.
  • go to project folder and run npm i
  • install sunbird package built on the earlier step - npm run <path_to_sunbird_tgz_file>
  • run ionic cordova platform add android
  • the above will add an android platform and add all the plugins to that.
  • check you have an attached device with adb devices command
  • run ionic cordova platform run android

Basic command

Build for debug - npm run build-debug

Build for release - npm run build-rel

Run the android app - npm run android