0.6.45 • Published 2 years ago

openmrs-esm-ohri-cervical-cancer-app v0.6.45

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

OHRI ESM

A custom microfrontend for OpenMRS HIV Reference Implementation (OHRI)

Badges

Node.js CI

Badges Badges Badges

Overview

(tbd)

Built With

Installation

Prerequisites

Setup OHRI Module

  1. Clone the openmrs-esm-ohri repo.
git clone https://github.com/UCSF-IGHS/openmrs-esm-ohri.git
  1. Install dependencies in the root directory of the repo.
  • make sure you are using a relatively recent version of node, LTE is 14.x.x, you can type node -version to find your current version. I would recommend using n to manage your node version: see https://www.npmjs.com/package/n
npm i
  1. Run the module from localhost:8080.
npm run serve

Setup Dev Tools

  1. Click Add new module in the dev tools window.
  2. Type in the Module Name: @openmrs/esm-ohri-app.
  3. Type in the Override URL: 8080.
  4. Go to the browser's development tools (e.g. via Inspect).
  5. Go to the Application tab.
  6. Go to Local Storage.
  7. Find the key: import-map-override:@openmrs/esm-ohri-app
  8. Update the corresponding value to: //localhost:8080/openmrs-esm-ohri.js.
  9. Click on the padlock/warning message next to the URL in the browser.
  10. Select the Allow option from the Insecure content dropdown in the browser settings page.
  11. Refresh the page.

Optional Steps: To enable Devtools (a gray or red rectangular button near the bottom right of the screen): Open cosole of Developer Tools -> In console enter: localStorage.setItem('openmrs:devtools', true)

Tests

To verify that all of the tests run:

npm test

Note: Run npm i before running tests for the first time.

Deployment

Currently, available releases for this module:

  • [DEMO]

Configuration

This module is designed to be driven by configuration files. These files define the look and functionality required to drive the OHRI module.

Note: Currently, the module cannot be configured as it is in the early stages of development.

Resources

Optional Steps: To run against a deployment server (to reflect local changes that will be on server upon Deployment): On terminal run -> npx openmrs develop --backend https://{server-address}

(tbd)

Acknowledgements

(tbd)

License

MPL 2.0 w/ HD © OpenMRS Inc.

0.6.43-pre.0

2 years ago

0.6.45-pre.1609

2 years ago

0.6.45-pre.1608

2 years ago

0.6.45-pre.1606

2 years ago

0.6.45-pre.1601

2 years ago

0.6.45-pre.1600

2 years ago

0.6.45-pre.1643

2 years ago

0.6.45-pre.1639

2 years ago

0.6.45-pre.1637

2 years ago

0.6.45-pre.1636

2 years ago

0.6.42-pre.1557

2 years ago

0.6.45-pre.1633

2 years ago

0.6.45-pre.1632

2 years ago

0.6.45-pre.1630

2 years ago

0.6.45

2 years ago

0.6.45-pre.1629

2 years ago

0.6.45-pre.1626

2 years ago

0.6.44-pre.0

2 years ago

0.6.45-pre.1618

2 years ago

0.6.45-pre.1616

2 years ago

0.6.45-pre.1614

2 years ago

0.6.41-pre.1549

2 years ago

0.6.43-pre.1532

2 years ago

0.6.43

2 years ago

0.6.42

2 years ago

0.6.41

2 years ago

0.6.39

2 years ago

0.6.33-pre.1487

2 years ago

0.6.33-pre.1486

2 years ago

0.6.33-pre.1484

2 years ago

0.6.33-pre.1482

2 years ago

0.6.33-pre.1480

2 years ago

0.6.33-alpha.0

2 years ago

0.6.33-pre.1479

2 years ago

0.6.33-pre.1477

2 years ago

0.6.33-pre.1474

2 years ago

0.6.32-pre.1471

2 years ago

0.6.32-pre.1468

2 years ago

0.6.32-pre.1466

2 years ago

0.6.32-pre.1465

2 years ago

0.6.32-pre.1464

2 years ago

0.6.32-pre.1462

2 years ago

0.6.32-pre.1460

2 years ago

0.6.32-pre.1458

2 years ago

0.6.32-pre.1456

2 years ago

0.6.32-pre.1454

2 years ago

0.6.32-pre.1453

2 years ago

0.6.32-pre.1452

2 years ago

0.6.32-pre.1451

2 years ago

0.6.32-pre.1447

2 years ago

0.6.32-pre.1446

2 years ago

0.6.32-pre.1443

2 years ago

0.6.32-pre.1441

2 years ago

0.6.32-pre.1438

2 years ago

0.6.32-pre.1436

2 years ago

0.6.32-alpha.0

2 years ago

0.6.25

2 years ago