Minimal working example using uwsgi.
Use virtualenv
pip install -r requirements.txt
Run with
uwsgi --ini conf.ini
Check with
import requests
request.post("http://localhost:8081", data="{'ciao':1}")
request.get("http://localhost:8081?ciao=1")
Minimal working example using uwsgi.
Use virtualenv
pip install -r requirements.txt
Run with
uwsgi --ini conf.ini
Check with
import requests
request.post("http://localhost:8081", data="{'ciao':1}")
request.get("http://localhost:8081?ciao=1")