Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Little script to sync the project/public/ and www/ directory for Laravel 5 deployment
mv www/index.php index.php.saved
rm -rf www/*
# update project/ to your directory name
cp -a project/public/* www
cp project/public/.* www
rm -rf www/index.php
mv index.php.saved www/index.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.