mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-30 02:26:58 +00:00
Helper that also resets everything.
This commit is contained in:
25
ide-helper-reset.sh
Executable file
25
ide-helper-reset.sh
Executable file
@@ -0,0 +1,25 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
composer self-update
|
||||||
|
php artisan migrate:refresh --seed --env=local
|
||||||
|
rm -f ./app/storage/debugbar/*.json
|
||||||
|
rm -f ./app/storage/logs/laravel.log
|
||||||
|
rm -f ./app/storage/meta/services.json
|
||||||
|
|
||||||
|
for i in `seq 0 9`;
|
||||||
|
do
|
||||||
|
rm -f ./app/storage/views/$i*
|
||||||
|
done
|
||||||
|
|
||||||
|
rm -f ./app/storage/views/a*
|
||||||
|
rm -f ./app/storage/views/b*
|
||||||
|
rm -f ./app/storage/views/c*
|
||||||
|
rm -f ./app/storage/views/d*
|
||||||
|
rm -f ./app/storage/views/e*
|
||||||
|
rm -f ./app/storage/views/f*
|
||||||
|
|
||||||
|
composer update
|
||||||
|
php artisan clear-compiled --env=local
|
||||||
|
php artisan ide-helper:generate --env=local
|
||||||
|
php artisan ide-helper:models --env=local --write
|
||||||
|
php artisan optimize --env=local
|
||||||
|
php artisan dump-autoload --env=local
|
Reference in New Issue
Block a user