From 681909791eff422f9e3316f29abce73696cbaa10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 22 Jul 2024 09:33:55 +0200 Subject: [PATCH] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 8453120..7e38186 100755 --- a/scripts/install +++ b/scripts/install @@ -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