Answers for "How to execute “php artisan migrate” and other Laravel commands in remote server?"

PHP
0

How to execute “php artisan migrate” and other Laravel commands in remote server?

ssh [email protected] << EOF
cd /var/www/app/;
php artisan migrate --force; // force prevents artisan from asking for a yes/no on production
exit;
EOF
Posted by: Guest on September-03-2020

Code answers related to "How to execute “php artisan migrate” and other Laravel commands in remote server?"

Browse Popular Code Answers by Language