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.
This commit is contained in:
Jocelyn Delalande 2017-07-26 16:12:09 +02:00
parent 52d6dd5f90
commit 79e6ae583a
2 changed files with 4 additions and 0 deletions

View file

@ -12,5 +12,7 @@
Order deny,allow
Allow from all
</Directory>
# 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/
</VirtualHost>

View file

@ -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 / {