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

Update install

This commit is contained in:
ericgaspar 2020-11-22 18:17:53 +01:00
parent 8924911ac6
commit beba373b17
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -126,19 +126,19 @@ ynh_script_progression --message="Building..."
# Setup application config
cp ../conf/.env.example $final_path/.env
# Setup custum user.css file
cp ../conf/user.css $final_path/public/dist/user.css
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="__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 migrate -n --force
cd $final_path && php$phpversion artisan config:clear -n
cd $final_path && php$phpversion artisan config:cache -n
# Setup custum user.css file
cp -f ../conf/user.css $final_path/public/dist/user.css
#=================================================
# STORE THE CONFIG FILE CHECKSUM
#=================================================