Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 1.49 KB

README.md

File metadata and controls

33 lines (19 loc) · 1.49 KB

🌺 FlowEHR - Apps

This directory contains the code for deploying and hosting apps that present and work with the transformed FlowEHR data/features/models.

Getting started

Configure GitHub permissions

For FlowEHR to create and manage repositories for FlowEHR Apps, it needs a GitHub Personal Access Token to be set in your config.yaml in the root of the repo.

You will need the appropriate permissions to create PATs in the scope of your organisation.

Follow the instructions here to create a classic token (fine-grained tokens don't currently support the GitHub GraphQL API which we require).

Then, make sure you have enabled the following permissions:

  • repo
  • write:org
  • delete_repo

When ready, click Generate and copy the token. Paste it into the github_token field in your config.yaml.

Deploy apps

  1. First, to configure which apps you'd like to deploy, copy the apps.sample.yaml to a new apps.yaml file:
cp apps.sample.yaml apps.yaml
  1. Then amend the settings as required. Ensure that each key of the apps file is unique - this will be the ID for the app used across its resources.

  2. Finally, run make apps from the root of this repository to deploy the infrastructure for the configured app(s).