firefly-iii/scripts/vagrant-load.sh
2014-09-14 21:05:56 +02:00

28 lines
706 B
Bash
Executable File

#!/bin/bash
composer self-update
composer update
rm -f ../app/storage/firefly-iii-import-*.json
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*
php ../artisan clear-compiled --env=vagrant
php ../artisan ide-helper:generate --env=vagrant
php ../artisan ide-helper:models --env=vagrant --write
php ../artisan optimize --env=vagrant
php ../artisan dump-autoload --env=vagrant
./vagrant-reset.sh