The Makefile contains the central entry points for common tasks related to this project.
Syncing data to S3
^^^^^^^^^^^^^^^^^^
* `make sync_data_to_s3` will use `aws s3 sync` to recursively sync files in `data/` up to `s3://[OPTIONAL] your-bucket-for-syncing-data (do not include 's3://')/data/`.
* `make sync_data_from_s3` will use `aws s3 sync` to recursively sync files from `s3://[OPTIONAL] your-bucket-for-syncing-data (do not include 's3://')/data/` to `data/`.
The documentation is accessible through Swagger at http://127.0.0.1:8000/docs when hosted locally.
The documentation is accessible through Swagger at http://127.0.0.1:8000/docs when hosted locally.
In order to deploy the ML API to Azure, please first build the Docker image and then push it to our container registry on Azure. At Azure we run an App Service that will automatically fetch the latest image and deploy it. The following Powershell commands can be used to first authenticate to Azure, connect to the registry, build the image and then push: