Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When you want to write code within the OpenMRS SPA, you will need to follow these instructions for setting up your development environment.

Step-by-step guide

...

Setting up a SPA development environment

  1. Install git
  2. Install node, which includes npm. This is for compiling and bundling frontend code (not for writing backend code).
  3. Trust insecure localhost SSL certificates.
  4. Run the following commands:
Code Block
languagebash
git clone https://github.com/openmrs/openmrs-esm-rootpatient-configchart  # or whichever frontend repo you want to developwork inon
cd openmrs-esm-rootpatient-configchart
npm install
npm start -- --https --port 8080

...