Template repository for building dash apps on FlowEHR.
Warning This repository is a work in progress. We're working towards a v0.1.0 release
For debugging locally without any remote Azure services, Seedlings provide a basic Docker Compose file for mocking backend services. This is useful in the initial stages of bootstrapping your app.
Create and configure the local configuration file
cp .env.local.sample .env.local
Run make serve-local
to build the sample Dash Docker container and serve it locally
make serve-local
# ...
# App: http://localhost:8050
and stop with make stop-local
.
Note Local serving does not work on ARM, including Apple M chips.
When you want to test your app with services from a FlowEHR dev environment (including its synthetic feature data), you can contact your FlowEHR admin for the appropriate connection strings and provide them in the following steps:
Create and configure the configuration file, replacing __CHANGE_ME__
with appropriate values
cp .env.dev.sample .env.dev
Run az login
to login to the Azure CLI
Run make serve-dev
Please contact a FlowEHR admin to deploy to the FlowEHR infrastructure where a managed repository will be created with credentials to deploy to the cloud.