From d960418dc015d0cd65ad6ac707bd119aa4ed660d Mon Sep 17 00:00:00 2001 From: 0livd <0livd@users.noreply.github.com> Date: Tue, 20 Jun 2017 00:44:57 +0200 Subject: Move the wsgi file to the budget dir (#218) The wsgi file needs to live in the budget dir if we want it to be installed by setuptools --- budget/ihatemoney.wsgi | 1 + conf/apache-vhost.conf | 2 +- ihatemoney.wsgi | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 budget/ihatemoney.wsgi delete mode 100644 ihatemoney.wsgi diff --git a/budget/ihatemoney.wsgi b/budget/ihatemoney.wsgi new file mode 100644 index 0000000..66f7a73 --- /dev/null +++ b/budget/ihatemoney.wsgi @@ -0,0 +1 @@ +from run import app as application diff --git a/conf/apache-vhost.conf b/conf/apache-vhost.conf index 6c05058..b3f1349 100644 --- a/conf/apache-vhost.conf +++ b/conf/apache-vhost.conf @@ -3,7 +3,7 @@ ServerName ihatemoney.example.com # Uncomment the python-home option if you use a virtualenv WSGIDaemonProcess ihatemoney user=www-data group=www-data threads=5 python-path=/path/to/ihatemoney/budget # python-home=/path/to/your/venv - WSGIScriptAlias / /path/to/ihatemoney/ihatemoney.wsgi + WSGIScriptAlias / /path/to/ihatemoney/budget/ihatemoney.wsgi ErrorLog /var/log/apache2/ihatemoney.example.com_error.log CustomLog /var/log/apache2/ihatemoney.example.com_access.log combined diff --git a/ihatemoney.wsgi b/ihatemoney.wsgi deleted file mode 100644 index 66f7a73..0000000 --- a/ihatemoney.wsgi +++ /dev/null @@ -1 +0,0 @@ -from run import app as application -- cgit v1.1