This charm was written for us to use in our deployed environments for our websites, instead of the old one. But we never got around to actually using the new charm.
We now run almost all our services in Kubernetes, and so I don't see us ever actually using this charm, and so we will no longer be maintaining this charm.
However, I do believe this charm and its associated layers (layer-wsgi and layer-untar-resources) are fairly well written and could be useful to anyone wanting to run a WSGI app with Juju.
Please let me (@nottrobin) know if you want to take over this project.
This is the Juju charm for serving the Canonical Webteam's Python WSGI applications.
After being deployed with Juju, the charm needs to be configured with the location of your WSGI module, and then provided with a .tar.gz file containing your application code:
juju deploy cs:~cwebteam/wsgi-app
juju config wsgi-app wsgi=myapplication.wsgi
juju attach wsgi-app build=./myapplication.tar.gzThis charm is built from two charm layers:
To build the charm locally, follow the documentation.