💉
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
  • Running specific packages
  • Override configs
  1. Design & Architecture

Customized stack

A set of options to have a customized stack.

How to override the config of each package, how to add more packages, how to use more packages from platform

It is high likely when developing to seek for a way to run one package or two.

Or to add more packages from Platform to the stack.

As we mentioned, it is possible to override configs as well.

In this page, we will specify how cares-on-platform is customized.

Running specific packages

To run specific packages, two options:

  1. Use the CLI like mentioned in the docs and specify the packages that you want to run in cares-on-platform. Example:

    ./platform-linux init <package_name> --dev --env-file="./.env.local"  
  2. Edit the package-metadata.json file. Note that the packages mentioned there will be running with their dependencies if you don't add --only flag in the CLI command.

Override configs

In Cares on platform, we're overriding some of the configs.

You can check for:

  • importer -> kafka-mapper-consumer: two folders that contains override configs (fhir-mapping.json and plugins)

  • importer -> dashboard-visualiser-superset: will import assets related to Cares on platform project from dashboard and charts.

  • importer -> analytics-datastore-clickhouse: will run the SQL queries in clickhouseTables.js specific to Cares on platform project.

for more instructions on how to override configs you can check Start overriding the config.

PreviousFlow of the dataNextLaunching & Local Testing

Last updated 2 years ago