Le bar
Laravel Envoy
thujohn
Pour ceux qui ne seraient pas au courant, hier est sorti Envoy, une nouvelle bibliothèque PHP indépendante créée par Taylor Otwell.
Une petite news FR pour les anglophobes : http://www.lafermeduweb.net/billet/laravel-envoy-executez-des-commandes-ssh-en-php-1707.html
Lien Github : https://github.com/laravel/envoy
Posté il y a 8 ans
bestmomo
Merci pour l'info .
Posté il y a 8 ans
Mushr00m
Question bête mais à quoi cela sert en gros ? Je ne vois pas bien...
Posté il y a 8 ans
JulienTant
Si tu as un serveur avec un accès ssh, tu peux imaginer avoir un fichier Envoy comme ça :
@servers(['ton-server' => '192.168.1.1'])
@task('deploy', ['on' => ['ton-server']])
git pull
php composer.phar install
chown -R www-data:www-data *
php artisan migrate
@endtask
Posté il y a 8 ans
Mushr00m
Ok je vois, pratique en effet
Posté il y a 8 ans
Vous ne pouvez pas répondre à ce sujet.