1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lychee_ynh.git synced 2024-09-03 19:36:36 +02:00

Add path to DIST

This commit is contained in:
ericgaspar 2020-11-22 09:26:25 +01:00
parent 8f16653c43
commit fdfe4a3eb2
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ DB_LOG_SQL=false
TIMEZONE=UTC TIMEZONE=UTC
# folders in which the files will be stored # folders in which the files will be stored
#LYCHEE_DIST="/var/www/__APP__/public/dist/" LYCHEE_DIST="__FINALPATH__/public/dist/"
LYCHEE_UPLOADS="/home/yunohost.app/__APP__/uploads/" LYCHEE_UPLOADS="/home/yunohost.app/__APP__/uploads/"
# url to access those files # url to access those files

View file

@ -128,7 +128,7 @@ cp ../conf/.env.example $final_path/.env
ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="$final_path/.env" ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="$final_path/.env"
ynh_replace_string --match_string="__DB_PASS__" --replace_string="$db_pwd" --target_file="$final_path/.env" ynh_replace_string --match_string="__DB_PASS__" --replace_string="$db_pwd" --target_file="$final_path/.env"
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$final_path/.env" ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path" --target_file="$final_path/.env"
# setup application config # setup application config
cd $final_path && php$phpversion artisan key:generate -n --force --env cd $final_path && php$phpversion artisan key:generate -n --force --env