Skip to content

Commit

Permalink
inital commit (METS-Programme#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mwanje authored and jabahum committed Sep 29, 2023
1 parent e575d1c commit baaefc2
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 11 deletions.
32 changes: 25 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,32 @@
![Node.js CI](https://github.com/METS-Programme/esm-ugandaemr-template-app/workflows/Node.js%20CI/badge.svg)
# OpenMRS 3.x APPS ESM

# UgandaEMR Template app
A frontend module for managing apps built on OpenMRS 3.x

![Landing page screenshot](./src/assets/images/screen.png)

A starter template ESM for UgandaEMR inspired by https://github.com/openmrs/openmrs-esm-template-app.
For more information, please refer to the
[OpenMRS 3.x Frontend Documentation](https://openmrs.github.io/openmrs-esm-core/#/).

You can use this repo as a template to spawn new frontend modules for UgandaEMR.
# Getting Started

The current setup works best for setting up polyrepos. To adapt the template for a monorepo setup, you'll need to make the following changes:
```sh
# Clone the repository
git clone https://github.com/METS-Programme/esm-menu-app.git

- Add a `packages` directory inside of `src`.
# to install dependencies
yarn

# to run the dev server
yarn start

# OR to start on a specified port eg 5000
yarn start --port 5000
```

Once it is running, a browser window
should open with the OpenMRS 3 application. Log in and then navigate to
`/openmrs/spa/home`.

# Running tests
```
yarn run test
```
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"main": "src/index.ts",
"source": true,
"scripts": {
"start": "openmrs develop",
"start": "openmrs develop --backend http://167.71.32.250:8080",
"serve": "webpack serve --mode=development",
"build": "webpack --mode production",
"analyze": "webpack --mode=production --env analyze=true",
Expand All @@ -34,14 +34,14 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/mets-programme/esm-ugandaemr-template-app.git"
"url": "git+https://github.com/METS-Programme/esm-menu-app.git"
},
"homepage": "https://github.com/mets-programme/esm-ugandaemr-template-app#readme",
"homepage": "https://github.com/mets-programme/esm-menu-app#readme",
"publishConfig": {
"access": "public"
},
"bugs": {
"url": "https://github.com/mets-programme/esm-ugandaemr-template-app/issues"
"url": "https://github.com/mets-programme/esm-menu-app/issues"
},
"dependencies": {
"@carbon/react": "^1.33.1",
Expand Down

0 comments on commit baaefc2

Please sign in to comment.