firefly-iii/scripts/local-cleanup-reload.sh

31 lines
686 B
Bash
Raw Normal View History

2014-09-14 14:05:56 -05:00
#!/bin/bash
cd ..
composer self-update
composer update
rm -f ./app/storage/firefly-iii-import-*.json
rm -f ./app/storage/debugbar/*.json
rm -f ./app/storage/logs/larave*.log
rm -f ./app/storage/meta/services.json
2014-09-14 14:05:56 -05:00
for i in `seq 0 9`;
do
rm -f ./app/storage/views/$i*
2014-09-14 14:05:56 -05:00
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*
2014-09-14 14:05:56 -05:00
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
cd scripts
2014-09-14 14:05:56 -05:00
./local-reset.sh