Commit e2988755 authored by Christian Marius Lillelund's avatar Christian Marius Lillelund
Browse files

added readme for ml api

parent 7c104388
Pipeline #100672 passed with stage
in 4 minutes and 4 seconds
......@@ -11,4 +11,4 @@ setup(
author='Christian Marius Lillelund',
author_email='cl@ece.au.dk',
license='MIT',
)
\ No newline at end of file
)
AIR ML API
==============================
The API is responsible for exposing the ML models through a HTTP REST API.
Usage
==============================
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:
$ Connect-AzAccount
$ Connect-AzContainerRegistry -Name aircontainerregistry
$ docker build -t aircontainerregistry.azurecr.io/airapi .
$ docker push aircontainerregistry.azurecr.io/airapi
Contact
==============================
Please contact [Christian Marius Lillelund](mailto:cl@ece.au.dk) or [Christian Fischer Pedersen](mailto:cfp@ece.au.dk) for questions regarding this repository.
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment