Extremely alpha - probably not working
This is a Juju charm for setting up an Apache mod_wsgi server for a basic Python WSGI app.
Hopefully, this charm will eventually be included in the Juju charm repository, so you can use it with simply juju deploy apache-wsgi
, but for now you'll need to clone it to use it:
Clone the charm into your trusty
folder within your charms directory, with the name django-legal
, e.g.:
mkdir -p ~/charms/trusty && cd charms
git clone [email protected]:nottrobin/apache-wsgi-charm.git trusty/apache-wsgi
You'll need a zipped tarball of your project for running with the app - e.g. project.tar.gz
. Then you can include it is a config option:
juju set local:trusty/apache-wsgi project_file="$(base64 project.tar.gz)"
juju deploy local:trusty/apache-wsgi