Skip to content

jazzmind/personal-edge

 
 

Repository files navigation

RMIT Personal Edge App

based on Practera SDK Overview

Docs

  1. Front-end Architecture

  2. Naming Convention Planning

Requirements

For development environment, here are mandatory utilities. - Npm (Nodejs) : Refer to https://nodejs.org/download/ - Ionic v2 : version 3.* - docker: version ^3.0

Setup Notes

  1. Install dependencies

    npm install -g ionic #install ionic-cli globally
  2. Make sure your ionic is running at v3 by ionic -v

    ionic -v
  3. If you have problem installing ionic v3, please uninstall current version of ionic with the following and repeat the step 1 & 2 above again to install ionic v3 correctly.

    npm uninstall -g ionic
  4. Setup Docker and run the app locally

    docker-compose build # to setup docker container locally
    npm run start-server

Development Notes

  1. Ionic Deeplinking/Routing Deeplinking allow a URL to auto redirect user into a specific page in the App. We also use named url parameters in URL, for example, http://example.com?parameter_name=example_value for specific feature to adapt backward-compatible consideration.

    For example, using pagename in do parameter:

    • Reset password: http://example.com?do=resetpassword&email=test@example.com&key=abcdefg

    • Registration: http://example.com?do=registration&email=test@example.com&key=abcdefg

  2. Copy src/configs/config.ts.default to src/configs/config.ts. Change your appkey inside config.ts based on the appkey in your database.

  3. Start server or initiate app

    ionic serve
    

Troubleshooting

  1. Cached web content - If you found what you see in browser isn't updated as expected after you've changed the codebase, you can try:
    1. Make sure ionic serve in your terminal if it is still running
    2. Activate browser Developer Mode in Chrome/Safari/Firefox - OPT + CMD + I
    3. Empty cache
      1. Chrome
        1. Application Tab
        2. Clear Storage
        3. click '[Clear selected]' button
      2. Safari
        1. Select Develop
        2. Disable cache
        3. Empty cache or OPT + CMD + E
      3. Firefox
        1. Get into Preference (use shortcut key CMD + ,)
        2. Select Advanced
        3. At the Cached Web Content click '[Clear Now]' button

About

An app for capturing evidence of professional skills built on Practera

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 73.5%
  • HTML 13.2%
  • SCSS 10.9%
  • JavaScript 2.4%