mirror of
https://github.com/YunoHost-Apps/snipeit_ynh.git
synced 2024-09-03 20:26:16 +02:00
artisan fix
This commit is contained in:
parent
e97ad508da
commit
586429e540
2 changed files with 7 additions and 7 deletions
|
@ -194,10 +194,10 @@ ynh_replace_string "yunodomain" "$domain" "$final_path/.env"
|
||||||
ynh_replace_string "__LANGUAGE__" "$language" "$final_path/.env"
|
ynh_replace_string "__LANGUAGE__" "$language" "$final_path/.env"
|
||||||
|
|
||||||
# setup application config
|
# setup application config
|
||||||
( cd $final_path && sudo /usr/bin/php artisan key:generate )
|
( cd $final_path && sudo /usr/bin/php artisan key:generate -n )
|
||||||
( cd $final_path && sudo /usr/bin/php artisan migrate )
|
( cd $final_path && sudo /usr/bin/php artisan migrate -n )
|
||||||
( cd $final_path && sudo /usr/bin/php artisan config:clear )
|
( cd $final_path && sudo /usr/bin/php artisan config:clear -n)
|
||||||
( cd $final_path && sudo /usr/bin/php artisan config:cache )
|
( cd $final_path && sudo /usr/bin/php artisan config:cache -n)
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STORE THE CONFIG FILE CHECKSUM
|
# STORE THE CONFIG FILE CHECKSUM
|
||||||
|
|
|
@ -139,9 +139,9 @@ ynh_add_fpm_config
|
||||||
|
|
||||||
( cd $final_path && sudo /usr/bin/php composer.phar install --no-dev --prefer-source )
|
( cd $final_path && sudo /usr/bin/php composer.phar install --no-dev --prefer-source )
|
||||||
( cd $final_path && sudo /usr/bin/php composer.phar dump-autoload )
|
( cd $final_path && sudo /usr/bin/php composer.phar dump-autoload )
|
||||||
( cd $final_path && sudo /usr/bin/php artisan migrate )
|
( cd $final_path && sudo /usr/bin/php artisan migrate -n )
|
||||||
( cd $final_path && sudo /usr/bin/php artisan config:clear )
|
( cd $final_path && sudo /usr/bin/php artisan config:clear -n )
|
||||||
( cd $final_path && sudo /usr/bin/php artisan config:cache )
|
( cd $final_path && sudo /usr/bin/php artisan config:cache -n )
|
||||||
|
|
||||||
### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script.
|
### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script.
|
||||||
### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it.
|
### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it.
|
||||||
|
|
Loading…
Add table
Reference in a new issue