No activity today, make something!
tiddlyweb Using gunicorn

20160313160648 cdent  

Green Unicorn is a "WSGI HTTP Server for UNIX". It is available via PyPI and can be installed using pip.

TiddlyWeb can be run with gunicorn using wsgiapp.py as an application loader. To run it at http://0.0.0.0:8080/ in a basic fashion do:

$ gunicorn -p gunicorn.pid --bind=0.0.0.0:8080 wsgiapp:application

The wsgiapp.py file needs to be in the current directory and that current directory should be an instance.

If you change code you need to tell gunicorn about it. You can do that with:

kill -1 `cat gunicorn.pid`