Skip to content
This repository has been archived by the owner on Mar 17, 2020. It is now read-only.

Latest commit

 

History

History
8 lines (5 loc) · 409 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 409 Bytes

A12 Api

This application is meant as a prototype of the API for A12 project. It is implemented using the Flask framework.

Setup

  1. Run pip install -r requirements.txt
  2. Run gunicorn -w=$((2*$NUM_OF_CORES + 1)) --bind 0.0.0.0:$PORT runserver.py A12Api:app where $NUM_OF_CORES is the number of cores in your processor. Optionally pass additional parameters according to the Gunicorn documentation.