We have an eShop build on prestashop and we are developing new features every week. I'm writing here because I don't find the correct way to update our production environment with the changes, without having to upload all the code again or having to upload the modified files manually.
Now we work like this:
- Our developers work with local copies connected to a GIT repo.
- Once we have some new features and we want to create a new release I download the latest version from the repo and test it locally on another computer.
=> HERE comes the part that I don't like... :)
- Once all the tests have been passed in my local copy we take all the files that have been modified (looking at the commits) and we upload them manually to the development environment.
- We test it again and if it works we upload the same files to the production environment.
We have been thinking in linking both environments source files with the repo as well, but I don't link it because I don't want to have the .git folder published messing my production code.
I didn't find the way of having a tested copy of our code pushed at our GIT REPOSITORY and update the servers automatically, without having to upload the files manually or having to upload entire folders (themes, classes, etc...) via FTP.
Is there anybody working with prestashop and GIT and having a nice automated system to do all this? :)
Many thanks in advance!
Regards,
Jordi