Skip to content

A singular runtime dependency for applications on the DHIS2 platform

Notifications You must be signed in to change notification settings

dhis2/app-runtime

Repository files navigation

DHIS2 Application Runtime

npm semantic-release

Docs are available at runtime.dhis2.nu.

Development

> yarn test # runs yarn test on each directory under ./services, and also in ./runtime
> yarn build # runs yarn build on each directory under ./services, and then in ./runtime
> yarn start # builds all services, builds the runtime, and starts the query playground server

Examples

A create-react-app example is available at ./examples/cra. If running yarn install locally in the example directory, be sure to run it with yarn install --force --check-files so that it pulls in the runtime (specified as a file: dependency).

A query REPL platform application is also available at ./examples/query-playground.

Running yarn build at root will automatically update the example app's copy, and running yarn start will build the runtime and then start the example.

A DHIS2 App Platform example is available at ./examples/query-playground. This is a full, deployable DHIS2 application and a live standalone version is available at every play instance, such as the dev instance play.dhis2.org/dev.

Release

Releases run automatically for every commit to the master branch using the d2 cli.

NEVER PUSH DIRECTLY TO master! ALL DEVELOPMENT IN THIS REPOSITORY IS THROUGH PULL REQUESTS

Report an issue

The issue tracker can be found in DHIS2 JIRA under the LIBS project.

Deep links: