Jump to content

- - - - -

How would you intergrate GIT code control, with Expression Engine

git ee expressionengine

  • Please log in to reply
1 reply to this topic

#1 Acknowledged74


    Advanced Member

  • Members
  • PipPipPip
  • 292 posts
  • Gender:Not Telling
  • Location:Essex, UK
  • Experience:Intermediate
  • Area of Expertise:Entrepreneur

Posted 05 November 2014 - 11:38 AM



I've been asked to use GIT code version control, which frankly I don't know about. I'm presuming you put code in and it makes sure its say HTML 5?


Also we will be using Expression Engine to build the site, how would the 2 things intergrate would you think?


Really appreciate some advice, my boss expects, and we all kow how that feel :0)



#2 BlueDreamer


    Web Guru

  • Moderators
  • PipPipPipPipPipPip
  • 7,458 posts
  • Gender:Male
  • Location:Northampton (where?)
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 05 November 2014 - 01:58 PM

For starters in ExpressionEngine you need to save templates as files, you can do this via the control panel Template section and on a template by template basis if you need to, but it's usually best to always save all as files. By default template files live in the /system/expressionengine/templates folder but you can move the /templates folder to wherever you want, eg if you utilise a global /assets folder put them in /assets/templates


Then using GIT you can push updated template files to your templates folder on the site whenever you want to, EE will see any new templates and sync them automatically.


As for how GIT actually works I've still not completely wrapped my head around it, but think of it as a file repositiory that keeps records of all your template updates. From there you can "commit" any changes then push updated files to your site. Something like that...

Also tagged with one or more of these keywords: git, ee, expressionengine

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users