Dodaj 'update.sh'
This commit is contained in:
parent
ef95f03fa2
commit
b531ba3e49
14
update.sh
Normal file
14
update.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
php artisan down
|
||||
git reset --hard FETCH_HEAD
|
||||
git clean -df
|
||||
git pull -f https://git.wmi.amu.edu.pl/s421507/eOSP2.git master
|
||||
url=$(basename "$PWD")
|
||||
chown -R www-data:www-data ../$url
|
||||
chmod -R 755 ../$url
|
||||
php artisan migrate
|
||||
php artisan db:seed
|
||||
php artisan queue:restart
|
||||
php artisan cache:clear
|
||||
php artisan up
|
Loading…
Reference in New Issue
Block a user