git - Prestashop Test/Production Server Best Practices -


we have eshop build on prestashop , developing new features every week. i'm writing here because don't find correct way update our production environment changes, without having upload code again or having upload modified files manually.

now work this:

  • our developers work local copies connected git repo.
  • once have new features , want create new release download latest version repo , test locally on computer.

=> here comes part don't like... :)

  • once tests have been passed in local copy take files have been modified (looking @ commits) , upload them manually development environment.
  • we test again , if works upload same files production environment.

we have been thinking in linking both environments source files repo well, don't link because don't want have .git folder published messing production code.

i didn't find way of having tested copy of our code pushed @ our git repository , update servers automatically, without having upload files manually or having upload entire folders (themes, classes, etc...) via ftp.

is there working prestashop , git , having nice automated system this? :)

many in advance!

regards,

jordi

here workflow use, it's (i guess) pretty standard:

  • one git repo
  • preprod domain
  • prod domain

all development done on branches, when it's ready ship merge on master. on preprod pull branch working on, , on production pull master. preprod , prod domain on same server, it's sub-domain htaccess protect it.

we use not prestashop every thing, works well.

for part want automatically pull code, must possible (à la heroku). me important is: should git everywhere , forget ftp. it's easier , you're sure need updated.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -