Skip to content

jembi/jempi-web

Repository files navigation

Getting Started with JeMPI Web

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Deployment

App is deployed using docker and port 3000 is exposed.

Build the image

Run ./build-image.sh {version}

e.g. ./build-image.sh 1.0.0

Version will default to latest if none is supplied

Run regular stack deploy

Run ./deploy-stack.sh

OR

Run ./get-cli.sh {linux|macos|windows} to download the relevant platform binary

Ensure you specified the correct version of the platform docker image in the config.yaml file. This image will be the one that creates the instant-openhie container (deployment container) on the target host.

Run ./deploy-platform-local.sh {action} {profile} to start up platform and perform an action on the stack.

E.g. Run ./deploy-platform-local.sh init local-frontend to deploy the front end and keycloak.

Other available actions are init up down and remove.

E.g. To cleanup local environment, run ./deploy-platform-local.sh remove local-frontend

The available profiles can be seen in the config.yaml file.

Releases

No releases published

Packages

No packages published

Languages