If your project is on github, you just clone your repo and then composer install
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...)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community