Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 523 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 523 Bytes

NCSS APIs

Visit http://localhost:5000/docs/ or http://apis.ncss.cloud/docs/ for the Swagger api specification.

Development

Install the requirements using Poetry:

$ poetry install
$ poetry run pytest
$ poetry run run.py

To deploy in production:

$ poetry run gunicorn --forwarded-allow-ips '*' --bind localhost:5001 --access-logfile - ncss_apis:app

and then run a reverse proxy to listen for HTTP/HTTPS.