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
- Install git
- Install node, which includes npm. This is for compiling and bundling frontend code (not for writing backend code).
- Trust insecure localhost SSL certificates.
- Run the following commands:
Code Block | ||
---|---|---|
| ||
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 |
...