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:
parent
5adeb77268
commit
68f5d0502e
2 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,7 @@ gid = users
|
|||
home = __FINALPATH__/venv
|
||||
|
||||
protocol = uwsgi
|
||||
wsgi-file = __FINALPATH__/weblate/wsgi.py
|
||||
wsgi-file = __FINALPATH__/venv/lib/python2.7/site-packages/weblate/wsgi.py
|
||||
python-path = __FINALPATH__
|
||||
# Needed for OAuth/OpenID
|
||||
buffer-size = 8192
|
||||
|
|
|
@ -141,6 +141,7 @@ virtualenv ${final_path}/venv
|
|||
#=================================================
|
||||
# SPECIFIC SETUP settings.py
|
||||
# https://docs.weblate.org/en/latest/admin/install.html#installation
|
||||
# TODO: use --extra-search-dir=/path/to/dists
|
||||
#=================================================
|
||||
echo "SPECIFIC SETUP settings.py"
|
||||
db_pwd=$(ynh_app_setting_get $app mysqlpwd)
|
||||
|
|
Loading…
Reference in a new issue