This directory contains the code for deploying and hosting apps that present and work with the transformed FlowEHR data/features/models.
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
.
- First, to configure which apps you'd like to deploy, copy the
apps.sample.yaml
to a newapps.yaml
file:
cp apps.sample.yaml apps.yaml
-
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.
-
Finally, run
make apps
from the root of this repository to deploy the infrastructure for the configured app(s).