mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Moved some scripts around.
This commit is contained in:
parent
f9af9a4fbe
commit
62ba40b687
@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
composer self-update
|
||||
php artisan migrate:refresh --seed --env=local
|
||||
./ide-helper.sh
|
@ -1,27 +0,0 @@
|
||||
#!/bin/bash
|
||||
#composer self-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*
|
||||
|
||||
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
|
29
scripts/local-cleanup-reload.sh
Executable file
29
scripts/local-cleanup-reload.sh
Executable file
@ -0,0 +1,29 @@
|
||||
#!/bin/bash
|
||||
cd ..
|
||||
composer self-update
|
||||
composer update
|
||||
cd scripts
|
||||
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
|
||||
|
||||
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=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
|
||||
./local-reset.sh
|
2
scripts/local-reset.sh
Executable file
2
scripts/local-reset.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
php ../artisan migrate:refresh --seed --env=local
|
27
scripts/vagrant-load.sh
Executable file
27
scripts/vagrant-load.sh
Executable file
@ -0,0 +1,27 @@
|
||||
#!/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
|
2
scripts/vagrant-migrate.sh
Executable file
2
scripts/vagrant-migrate.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
php ../artisan migrate --seed --env=vagrant
|
2
scripts/vagrant-reset.sh
Executable file
2
scripts/vagrant-reset.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
php ../artisan migrate:refresh --seed --env=vagrant
|
@ -1,5 +0,0 @@
|
||||
#!/bin/sh
|
||||
php artisan migrate:refresh --seed --env=vagrant
|
||||
rm -f ./app/storage/logs/laravel.log;
|
||||
rm -f ./app/storage/*.json
|
||||
sudo service nginx restart
|
Loading…
Reference in New Issue
Block a user