mirror of
https://github.com/YunoHost-Apps/pepettes_ynh.git
synced 2024-09-03 19:56:35 +02:00
fix: compile translation on install and update
This commit is contained in:
parent
0053e9dbbc
commit
fe0c96481b
3 changed files with 3 additions and 0 deletions
|
@ -125,6 +125,7 @@ pushd $final_path
|
|||
venv/bin/pip install --upgrade pip
|
||||
venv/bin/pip install -r requirements.txt
|
||||
venv/bin/pip install gunicorn
|
||||
venv/bin/pybabel compile -d locales/
|
||||
mkdir -p /var/log/$app
|
||||
chown -R $app:www-data /var/log/$app
|
||||
chmod o-rwx /var/log/$app
|
||||
|
|
|
@ -89,6 +89,7 @@ pushd $final_path
|
|||
venv/bin/pip install --upgrade pip
|
||||
venv/bin/pip install -r requirements.txt
|
||||
venv/bin/pip install gunicorn
|
||||
venv/bin/pybabel compile -d locales/
|
||||
mkdir -p /var/log/$app
|
||||
chown -R $app:www-data /var/log/$app
|
||||
chmod o-rwx /var/log/$app
|
||||
|
|
|
@ -112,6 +112,7 @@ pushd $final_path
|
|||
venv/bin/pip install --upgrade pip
|
||||
venv/bin/pip install -r requirements.txt
|
||||
venv/bin/pip install gunicorn
|
||||
venv/bin/pybabel compile -d locales/
|
||||
mkdir -p /var/log/$app
|
||||
chown -R $app:www-data /var/log/$app
|
||||
chmod o-rwx /var/log/$app
|
||||
|
|
Loading…
Add table
Reference in a new issue