Giter Site home page Giter Site logo

docent-base's Introduction

Docent Base

The front end application built with ionic.


Dependencies

  • Android studio
  • Ionic
  • Cordova
  • Node.js
  • TypeScript
  • npm
  • java jdk 8

Installation

  1. git clone https://github.com/EktaFlow/docent-base.git cd docent-base
  2. npm install
  3. npm install -g cordova ionic (alternative use system package manager for installing these system wide.)
  4. Install Android studio + jdk8

For local testing purposes

Configure src/services/constants.js:

  1. export const DocentStorageAccount = "example-storage-account"
  2. export const SAS = "example-connecting-string"
  3. export const BackUrl = "http://localhost:4000/"

Configure config.xml

Modify config.xml: widget id="com.ionic.docent"

E2E Testing

run: npm run cypress


Preparation

  1. Restore any modifications to config.xml

Usage

Build for android

Read: https://ionicframework.com/docs/v3/intro/deploying/

Build for Desktop Electron

  1. Navigate to docent-base project folder.
  2. Run ionic build which will generate new static files in docent-base/www
  3. Download: https://docentpublic.blob.core.windows.net/desktop-docent/docent201.zip
  4. Unzip into location of choice.
  5. 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.

docent-base's People

Contributors

dgonca avatar markfranciose avatar jcce avatar binsquare avatar makeone avatar dependabot[bot] avatar markekta avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.