diff --git a/scripts/install b/scripts/install index 990712c..6e0831d 100755 --- a/scripts/install +++ b/scripts/install @@ -45,6 +45,13 @@ pushd $install_dir PIPENV_VENV_IN_PROJECT="enabled" PIPENV_SKIP_LOCK=true ynh_exec_warn_less python3 -m pipenv install fittrackee==$fittrackee_version python-dotenv popd +#================================================= +# CONFIGURE log file +#================================================= + +mkdir /var/log/$app/ +touch /var/log/$app/$app.log +chown -R $app: /var/log/$app/ #================================================= # CONFIGURE THE INSTALL SCRIPT @@ -65,6 +72,7 @@ mkdir "$install_dir/venv" python3 -m venv "$install_dir/venv" source $install_dir/.env + #================================================= # INITIALIZE DATABASE #=================================================