One command to start uWSGI server.
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
uwsgi fixes app name & reqs May 31, 2017
.env fixes app name & reqs May 31, 2017
LICENCE initial May 31, 2017
README.md fixes app name & reqs May 31, 2017
requirements.txt fixes app name & reqs May 31, 2017

README.md

uWSGI Installer

Reqs

Should have following environment variables:

  • SITE_FOLDER, where SITE_FOLDER is /home/[SITE_FOLDER]
  • APP_NAME, where APP_NAME is /home/[SITE_FOLDER]/[APP_NAME], where wsgi.py lives

How it works

Start the script python uwsgi/uwsgi.py, emperor config will be created uwsgi/emperor.ini, vassal config will be created uwsgi/uwsgi/uwsgi.ini and upstart script would be created /etc/init/SITE_FOLDER.conf and started.

Plans

Maybe I'll make it full working environment starter, i.e. in ideal it should create environment, install requirements, make nginx configs, generate certificates and start the app. But as simple is always better, will not go too much into it.

Who uses