Update to new version - melihovv/grammar_review_tool GitHub Wiki
To update your local app with latest changes, run the following script:
#!/usr/bin/env bash
PROJECT_PATH="/path/to/project"
php artisan down
php artisan config:clear
php artisan view:clear
php artisan config:env-validator --env=local
git -C $PROJECT_PATH pull
composer install
if [ "$1" == "--with-npm" ];
then
cd $PROJECT_PATH
yarn
ENABLE_GZIP=true npm run build
cd -
fi
if [ "$1" == "--refresh-db" ];
then
php artisan migrate:refresh --force
else
php artisan migrate --force
fi
php artisan config:cache
php artisan up