Support the ongoing development of Laravel.io →
Configuration
Last updated 1 year ago.
0

If your project is on github, you just clone your repo and then composer install

Last updated 1 year ago.
0

My way: warning! this rsync option --delete, deleted on the server that is not in development

user@desarrollo:/var/www/thesite$ more deploy.sh  

rsync -av --delete --progress --rsh='ssh -p8251' --exclude-from='exclude.txt' . user@ip:/var/www/thesite  

user@desarrollo:/var/www/thesite$ more exclude.txt
deploy.sh
exclude.txt
app/storage/cache/*
app/storage/logs/*
app/storage/meta/*
app/storage/sessions/*
app/storage/views/*

Als exclude files are on server and that are not in "development", (images upload by users etc...)

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.