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:
parent
8924911ac6
commit
beba373b17
1 changed files with 4 additions and 4 deletions
|
@ -126,19 +126,19 @@ ynh_script_progression --message="Building..."
|
||||||
# Setup application config
|
# Setup application config
|
||||||
cp ../conf/.env.example $final_path/.env
|
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_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="__FINALPATH__" --replace_string="$final_path" --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
|
||||||
cd $final_path && php$phpversion artisan migrate -n --force
|
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:clear -n
|
||||||
cd $final_path && php$phpversion artisan config:cache -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
|
# STORE THE CONFIG FILE CHECKSUM
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue