Get rid of the source .env because wasn’t usefull

This commit is contained in:
Thomas 2023-12-04 13:48:26 +01:00 committed by GitHub
parent 0ad8b03106
commit 33d9120aa6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 5 deletions

View file

@ -34,8 +34,6 @@ ynh_add_config --template="../conf/.env.production" --destination="$install_dir/
chmod 600 $install_dir/.env
chown $app:www-data "$install_dir/.env"
# set -a; source "$install_dir/.env"; set +a
mkdir "$install_dir/venv"
python3 -m venv "$install_dir/venv"
$install_dir/venv/bin/pip3 install -r "$install_dir/requirements.txt"

View file

@ -62,9 +62,6 @@ ynh_add_config --template="../conf/.env.production" --destination="$install_dir/
chmod 600 $install_dir/.env
chown $app: "$install_dir/.env"
#set -a; source "$install_dir/.env"; set +a
#=================================================
# CONFIGURE THEN INSTALL SCRIPT AND DEPENDENCIES
#=================================================