Skip to content
A singular runtime dependency for applications on the DHIS2 platform
TypeScript JavaScript
Branch: master
Clone or download
Latest commit 330549c Jan 27, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.dependabot
.github
docs
examples
runtime
services
.browserslistrc
.editorconfig
.eslintrc.js
.gitignore
.huskyrc.js
.prettierrc.js
.travis.yml
.yarnclean
CHANGELOG.md
README.md
netlify.toml
package.json
yarn.lock

README.md

DHIS2 Application Runtime

npm build Dependabot 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).

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 runtime.dhis2.nu/playground

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

You can’t perform that action at this time.