Uwsgi

From wiki
Revision as of 23:23, 25 March 2020 by Hdridder (talk | contribs) (Created page with "Lots of confusion going around on the net about installing and using uwsgi. Here my notes. ==Used documentation== https://github.com/unbit/uwsgi/issues/1688 ==Installing== *...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Lots of confusion going around on the net about installing and using uwsgi. Here my notes.

Used documentation

https://github.com/unbit/uwsgi/issues/1688

Installing

  • pip3 install uwsgi
  • Create virtual python environment
virtualenv --clear --always-copy -p /usr/bin/python3 venv
  • Activate the virtual environment and install flask
pip3 install flask

Now 1 application can be started (second is complaining about the python plugin and encodings module although the .ini is exactly the same)