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.
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.