diff --git a/README.md b/README.md index 27323c6..65ce8be 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,12 @@ env FLASK_APP=qurator/sbb_ner/webapp/app.py env FLASK_ENV=development env USE_CU Set USE_CUDA=False, if you do not have a GPU available/installed. + +For production purposes rather use +``` +gunicorn --bind 0.0.0.0:5000 qurator.sbb_ner.webapp.wsgi:app +``` + # Docker ## CPU-only: diff --git a/requirements.txt b/requirements.txt index 1edf2fc..6b47ac8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,4 +14,5 @@ cloudpickle pytest pytest-cov flask +gunicorn somajo