A RESTful web service to perform polygon comparison for building extraction evaluation (Polis). The service is implemented with the Django framework and deployed in the Azure Container Service . This repository has been tested to continuously deploy to Azure from GitHub. The container is stateless and lightweight.
- git clone https://github.com/toddstavish/bee-service.git
- cd bee-service
- For Python code dev just run gunicorn locally (avoids container rebuilds)
- gunicorn -b :8000 --timeout 120 django_rest.wsgi
- docker build -t bee .
- docker run -it -p 8000:8000 bee
- Deploy container to Azure
- eval $(docker-machine env ) <-machine name is from first step
- Allow external network access to your VM (firewall in your resource group)
- C# client
- Turn off debug in django
See LICENSE.