1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00

make sure wsgi use the virtualenv file

This commit is contained in:
Jean-Baptiste Holcroft 2017-09-15 17:25:04 +02:00
parent 5adeb77268
commit 68f5d0502e
2 changed files with 2 additions and 1 deletions

View file

@ -6,7 +6,7 @@ gid = users
home = __FINALPATH__/venv home = __FINALPATH__/venv
protocol = uwsgi protocol = uwsgi
wsgi-file = __FINALPATH__/weblate/wsgi.py wsgi-file = __FINALPATH__/venv/lib/python2.7/site-packages/weblate/wsgi.py
python-path = __FINALPATH__ python-path = __FINALPATH__
# Needed for OAuth/OpenID # Needed for OAuth/OpenID
buffer-size = 8192 buffer-size = 8192

View file

@ -141,6 +141,7 @@ virtualenv ${final_path}/venv
#================================================= #=================================================
# SPECIFIC SETUP settings.py # SPECIFIC SETUP settings.py
# https://docs.weblate.org/en/latest/admin/install.html#installation # https://docs.weblate.org/en/latest/admin/install.html#installation
# TODO: use --extra-search-dir=/path/to/dists
#================================================= #=================================================
echo "SPECIFIC SETUP settings.py" echo "SPECIFIC SETUP settings.py"
db_pwd=$(ynh_app_setting_get $app mysqlpwd) db_pwd=$(ynh_app_setting_get $app mysqlpwd)