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:
parent
dc8ec05626
commit
681909791e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue