Deploy script to ploi

Can someone throw light on how to deploy October CMS on ploi.io ?

This is the default deploy script :

cd /home/ploi/myDomain.com
git pull origin main
composer install --no-interaction --prefer-dist --optimize-autoloader
echo "" | sudo -S service php8.3-fpm reload

echo "🚀 Application deployed!"

php artisan route:cache
php artisan view:clear
php artisan migrate --force

Where do I insert php artisan october:migrate ?

Hi @anjanesh ,

If you are able to execute:

php artisan route:cache
php artisan view:clear
php artisan migrate --force

You should be able to execute php artisan october:migrate as well.

1 Like