lundi 17 octobre 2016

Sync Laravel Production Code using Git

Currently my local code and production code follow the same directory structure. After, pushing my changes from local, i pull it on the server and it works fine.

Website path is something like http://ift.tt/2e3hJHM

Now, i'm trying to change path to http://abcde.com

i followed this guide and thinking about moving source code out of server directory. So, the structure:

/var/www will contain content of laravel's public folder
/var/source will contain laravel

But then how'll i manage it with Git because the structure will be different?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire