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

Go to the right directory

This commit is contained in:
Jean-Baptiste Holcroft 2017-09-15 13:13:37 +02:00
parent 0d83cec63b
commit 754031c17e

View file

@ -175,6 +175,7 @@ echo "SPECIFIC SETUP Filling up the database"
set +eu set +eu
source ${final_path}/venv/bin/activate source ${final_path}/venv/bin/activate
export DJANGO_SETTINGS_MODULE="weblate.settings" export DJANGO_SETTINGS_MODULE="weblate.settings"
cd ${final_path}
weblate migrate --noinput weblate migrate --noinput
# generate static files # generate static files
weblate collectstatic --noinput weblate collectstatic --noinput