mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 20:51:49 +02:00
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:
parent
52d6dd5f90
commit
79e6ae583a
2 changed files with 4 additions and 0 deletions
|
@ -12,5 +12,7 @@
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Allow from all
|
Allow from all
|
||||||
</Directory>
|
</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/
|
Alias /static/ /path/to/ihatemoney/ihatemoney/static/
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
|
@ -3,6 +3,8 @@ server {
|
||||||
keepalive_timeout 5;
|
keepalive_timeout 5;
|
||||||
|
|
||||||
location /static/ {
|
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/;
|
alias /path/to/app/ihatemoney/static/;
|
||||||
}
|
}
|
||||||
location / {
|
location / {
|
||||||
|
|
Loading…
Reference in a new issue