Socket
Socket
Sign inDemoInstall

openmrs

Package Overview
Dependencies
Maintainers
0
Versions
1129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openmrs


Version published
Weekly downloads
2.3K
decreased by-21.87%
Maintainers
0
Weekly downloads
 
Created
Source

openmrs

The one stop CLI for using the OpenMRS 3.0 Frontend app.

Prerequisites

You need Node.js with NPM. We recommend using version 16.17 (LTS) or later.

Installation

You can run the tool without installation using npx, which is part of NPM. Just make sure to fulfill the prerequisites.

Alternatively, install the application globally using npm i openmrs -g. Then you can run the tool without npx, e.g., instead of npx openmrs ... you run openmrs ....

Available Commands

The following commands are available. For an up-to-date help on your installation run npx openmrs --help.

The --help flag can also be applied to any command below, resulting in detailed information about the available options.

start

For developers.

Starts the app shell configured for the SPA reference application. Includes a default import map working against a working snapshot on the CDN.

Example:

# run the command
npx openmrs

develop

For developers and implementers.

Performs a debug build of the app shell and runs it against a given OpenMRS backend. Can be proxied to any network and used with any import map configuration.

Example:

# run the command
npx openmrs develop

build

For implementers.

Builds the app shell with a given configuration. Provides the assets necessary for the app shell in a distribution.

Example:

# run the command
npx openmrs build

assemble

For implementers.

Assembles an import map incl. assets to provide the frontend module assets for a distribution.

Example:

# run the command
npx openmrs assemble

Keywords

FAQs

Package last updated on 06 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc