mirror of
https://github.com/YunoHost-Apps/fittrackee_ynh.git
synced 2024-09-03 18:36:16 +02:00
Update install
This commit is contained in:
parent
1a0c0ab6e1
commit
b2c43a6c2a
1 changed files with 8 additions and 4 deletions
|
@ -21,10 +21,6 @@ touch /var/log/$app/$app.log
|
|||
chown -R $app:www-data /var/log/$app/
|
||||
|
||||
|
||||
ynh_add_config --template="../conf/.env.production" --destination="$install_dir/.env"
|
||||
chmod 600 $install_dir/.env
|
||||
|
||||
set -a; source "$install_dir/.env"; set +a
|
||||
|
||||
#=================================================
|
||||
# INSTALL DEPENDENCIES
|
||||
|
@ -47,8 +43,16 @@ ynh_app_setting_set --app=$app --key=key --value=$key
|
|||
|
||||
ynh_script_progression --message="Setting up source files..." --weight=64
|
||||
|
||||
ynh_add_config --template="../conf/.env.production" --destination="$install_dir/.env"
|
||||
chmod 600 $install_dir/.env
|
||||
|
||||
|
||||
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
|
||||
set -a; source "$install_dir/.env"; set +a
|
||||
|
||||
pushd $install_dir
|
||||
mkdir -p .venv
|
||||
PIPENV_VENV_IN_PROJECT="enabled" PIPENV_SKIP_LOCK=true ynh_exec_warn_less python3 -m pipenv install fittrackee==$fittrackee_version python-dotenv
|
||||
|
|
Loading…
Reference in a new issue