1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tandoor_ynh.git synced 2024-09-03 20:35:56 +02:00

Update install

This commit is contained in:
Éric Gaspar 2024-07-22 09:33:55 +02:00
parent dc8ec05626
commit 681909791e

View file

@ -74,10 +74,10 @@ ynh_script_progression --message="Installing Tandoor and its python dependencies
_tandoor_venv_install
ynh_script_progression --message="Running migrations and generating static files..." --weight=2
pushd "$install_dir/source"
(
source "$install_dir/.env"
ynh_exec_as "$app" "$venvpy" manage.py migrate
ynh_psql_execute_as_root --sql="ALTER USER $app WITH NOSUPERUSER;"
ynh_exec_as "$app" "$venvpy" manage.py collectstatic --no-input