Mysql
 SQL >> Database >  >> RDS >> Mysql

Laravel 5: eseguire migrazioni sul server invece che in locale

Il comando artisan locale esegue tutto localmente, anche impostando ENV. Per operare sul server puoi usare Laravel Envoy.

@task('deploy')
cd ~/src
git pull origin master
php artisan migrate --force
@endtask

Envoy si collega via SSH e lancia i comandi remoti.