From 79e6ae583a2daab1a55fd1e63f01a3de57722f02 Mon Sep 17 00:00:00 2001 From: Jocelyn Delalande Date: Wed, 26 Jul 2017 16:12:09 +0200 Subject: [PATCH] Add a hint on how to find the static path This is a downside on the pip choice over git for installation. We will have to ease that a bit. By doc or by code, before next release. --- conf/apache-vhost.conf | 2 ++ conf/nginx.conf | 2 ++ 2 files changed, 4 insertions(+) diff --git a/conf/apache-vhost.conf b/conf/apache-vhost.conf index 6221d35f..1a84e7f7 100644 --- a/conf/apache-vhost.conf +++ b/conf/apache-vhost.conf @@ -12,5 +12,7 @@ Order deny,allow Allow from all +# Alias value may be some messy path, within python libs. +# You may want to use "find $VIRTUAL_ENV -path */ihatemoney*/static" to find it. Alias /static/ /path/to/ihatemoney/ihatemoney/static/ diff --git a/conf/nginx.conf b/conf/nginx.conf index 34b75b43..0fe26f02 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,6 +3,8 @@ server { keepalive_timeout 5; location /static/ { + # Alias value may be some messy path, within python libs. + # You may want to use "find $VIRTUAL_ENV -path */ihatemoney*/static" to find it. alias /path/to/app/ihatemoney/static/; } location / {