From cdf903383a0fb2df08f40310bbbe3659362184e1 Mon Sep 17 00:00:00 2001 From: 0livd <0livd@users.noreply.github.com> Date: Mon, 10 Apr 2017 17:46:39 +0100 Subject: Add the possibilty to run ihatemoney via Apache mod_wsgi (#191) Add the possibilty to run ihatemoney via Apache mod_wsgi ihatemoney.wsgi is the entry point for mod_wsgi. A virtualenv can be activated if its path is specified as an env var in the apache virtual host file --- README.rst | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'README.rst') diff --git a/README.rst b/README.rst index 5b7bb4d..76d1633 100644 --- a/README.rst +++ b/README.rst @@ -33,7 +33,21 @@ You can also set the `TESTING` flag to `True` so no mails are sent Deploy it ========= -To deploy it, I'm using gunicorn and supervisord. +You have multiple options to deploy ihatemoney. Two of them are documented at the moment: + +With Apache and mod_wsgi +------------------------ + +1. Install Apache and mod_wsgi - libapache2-mod-wsgi(-py3) for Debian based and mod_wsgi for RedHat based distributions - + +2. Create an Apache virtual host based on the sample configuration file in conf/apache-vhost.conf + +3. Adapt it to your paths and specify your virtualenv path if you use one + +4. Activate the virtual host if needed and restart Apache + +With Nginx, Gunicorn and Supervisord +------------------------------------ 1. Add the lines in conf/supervisord.conf to your supervisord.conf file. **adapt them to your paths!** -- cgit v1.1