1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pytition_ynh.git synced 2024-09-03 20:16:08 +02:00

Update install

This commit is contained in:
Éric Gaspar 2023-04-27 19:34:11 +02:00 committed by Salamandar
parent 433e697778
commit 1aba6a6b80

View file

@ -88,8 +88,7 @@ ynh_exec_as $app bash -c "
python3 manage.py migrate
python3 manage.py collectstatic
python3 manage.py compilemessages
DJANGO_SUPERUSER_PASSWORD='$password' \
python3 manage.py createsuperuser --noinput --username $admin --email $email --password '$password'
DJANGO_SUPERUSER_PASSWORD='$password' python3 manage.py createsuperuser --noinput --username $admin --email $email
"
chmod 750 "$install_dir/static"