simplify install with changes manage.py shebang

This commit is contained in:
JensDiemer 2022-04-02 20:12:49 +02:00
parent 5bb2439e27
commit fd580bda98

View file

@ -172,11 +172,7 @@ touch "$final_path/local_settings.py"
#=================================================
ynh_script_progression --message="migrate/collectstatic/createadmin..." --weight=10
(
set +o nounset
source "${final_path}/venv/bin/activate"
set -o nounset
cd "${final_path}"
cd "$final_path" || exit
# Just for debugging:
./manage.py diffsettings
@ -190,7 +186,7 @@ ynh_script_progression --message="migrate/collectstatic/createadmin..." --weight
# Check the configuration
# This may fail in some cases with errors, etc., but the app works and the user can fix issues later.
./manage.py check --deploy || true
)
#=================================================
# SETUP LOGROTATE