💉
CARES on Platform
  • Getting started
  • Overview
    • General Structure
    • The Source: Platform
    • A Custom package
  • Design & Architecture
    • General Architecture
    • References from Platform
    • Flow of the data
    • Customized stack
  • Launching & Local Testing
    • Start overriding the config
    • Launch Cares
    • Launch Cares & Disi
    • Dev & Prod mode
    • Test the stack
  • Troubleshooting & Monitoring
    • Using the Monitoring package
    • Locate the issue
    • Backup & Restore
  • Deployment
    • Local deployment
    • Deploy on a Remote Server
  • Postman Collections
  • Sante MPI Configuration
Powered by GitBook
On this page
  1. Overview

A Custom package

Good to know.

PreviousThe Source: PlatformNextDesign & Architecture

Last updated 2 years ago

What is additional in this project ?

Cares on platform is a custom package and has exactly the same structure as any other package in the Platform (A swarm script, a package-metadata.json file, and docker-compose file).

The deploy bash script that will launch the project is in reality going to launch Platform and additionally informing the platform that it should run the cares-on-platform package with its dependencies:

// deploy-local.sh script
./platform-linux "$1" -c="../cares-on-platform" --dev --env-file="./.env.local" cares-on-platform

More reading about the platform CLI is this link: .

Cares on platform will need the packages mentioned in the package-metadata.json, in the depedencies section:

Each package mentioned above will have dependencies as well.

Running the cares on platform will result on running these packages as well as the dependencies of these packages.

Another example from Platform:

In result, the packages cares-on-platform, analytics-datastore-clickhouse and dashboard-visualiser-superset will run in this order:

  1. analytics-datastore-clickhouse

  2. dashboard-visualiser-superset

  3. cares-on-platform

NOTE: cares-on-platform package will be running last.

Instant OpenHIE v2
package-metadata.json file of cares-on-platform
package-metadata.json of dashboard-visualiser-superset in Platform