Docent Base
The front end application built with ionic.
Dependencies
- Android studio
- Ionic
- Cordova
- Node.js
- TypeScript
- npm
- java jdk 8
Installation
- git clone https://github.com/EktaFlow/docent-base.git cd docent-base
- npm install
- npm install -g cordova ionic (alternative use system package manager for installing these system wide.)
- Install Android studio + jdk8
For local testing purposes
Configure src/services/constants.js:
- export const DocentStorageAccount = "example-storage-account"
- export const SAS = "example-connecting-string"
- export const BackUrl = "http://localhost:4000/"
Configure config.xml
Modify config.xml: widget id="com.ionic.docent"
E2E Testing
run: npm run cypress
Preparation
- Restore any modifications to config.xml
Usage
Build for android
Build for Desktop Electron
- Navigate to docent-base project folder.
- Run ionic build which will generate new static files in docent-base/www
- Download: https://docentpublic.blob.core.windows.net/desktop-docent/docent201.zip
- Unzip into location of choice.
- copy & overwrite content of docent-base/www into unzipped electron app docent/resources/app/www
Run
ionic serve
Additional Notes
- Active dev branch -> add/2018-deskbook
- add/2018-deskbook is the branch used for ios build & android.
- desktop builds require a different branch.