Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 475 Bytes

File metadata and controls

23 lines (15 loc) · 475 Bytes

A2WSGI

This example is to demonstrate support for a2wsgi, available since BlackSheep 2.6.1.

  1. Create a virtual environment and activate it.
  2. Install dependencies.
  3. Run with the command below.

Testing with Gunicorn

pip install blacksheep a2wsgi gunicorn

gunicorn server:wsgi_app -w 4

Testing with uWSGI

pip install uwsgi

uwsgi --http :8000 --wsgi-file server.py --callable wsgi_app