Ploi Core

Upgrade from V2 to V3

The upgrade from version 2 to version 3 is a rather breeze, there aren't any breaking changes and everything is backwards compatible.

Automatic update

This is the most easiest way to update your version, just run the following script inside the root directory of your website:

./update.sh

A deploy script example for this would be:

cd /home/ploi/demo.ploi-core.io

./update.sh

echo "Application deployed! 🚀"

Manual update

If you prefer to manually update your installation, you can, we recommend to run the following commands in this order:

git pull origin master

composer install --no-interaction --prefer-dist --no-dev --optimize-autoloader --quiet

php artisan migrate --force

php artisan cache:clear

php artisan route:cache

php artisan horizon:terminate