Skip to content

Latest commit

 

History

History
86 lines (52 loc) · 2.23 KB

README_old.md

File metadata and controls

86 lines (52 loc) · 2.23 KB

ELSA HEALTH

Elsa Health CTC Project

[Badge]

This project created to: ** create useful digital CTC network

This repo has 3 parts

  • Mobile CTC
  • Server
  • Emr

Getting Started

Project was bootstrapped with turborepo, meaning most of the interactions with the rest of the project would be more close to a yarn workspaces

Installation

When cloning the project from this point, it shouldn't also automatically pull the repositories from the submodules as well (i.e project emr and server)

From that point, start by installing project dependencies

yarn

Development

App

To launch the mobile application for development, make sure your device is plugged in or your are running an emulator, then run:

yarn w mobile-ctc android

Then followed by

yarn w mobile-ctc start

EMR

If you plan on making development on the EMR and have changes apply to the app, open a new terminal then run

yarn w @elsa-health/emr dev

With fast reloading on, frequest updates on the /packages/emr project might throw a missing package or haste package related error. You might want to instead to want to perform manual periodic builds yourself. To do that.

yarn w @elsa-health/emr build

Dacc Server

When working on the Dacc server project as part of this repository (as opposed to individual development), Run

yarn w dacc-server dev

By default, this will expose a socket endpoint via port 5005, to override, run

PORT=5678 yarn w dacc-server dev

To quickly be able to have the dacc-server properly communicate with the mobile application, you might want to forward the connection using something like ngrok

Contributing

We love Open Source, appreciate contibutions from developers all around. See CONTRIBUTING.md for ways to get started.

Please adhere to this project's CODE_OF_CONDUCT.md.

Feedback

If you have any feedback, please share it in the Discussions using the feedback label or reach us out at [email protected]