Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

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