ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Setting up GIT workflow

June 08, 2009 2:59am

Subscribe [2]
  • #1 / Jun 08, 2009 2:59am

    Dane Thomas

    139 posts

    Getting into git has been on my ‘to-do’ list for sometime, and with a bit of time today (and the recent discussions here & here) I thought I’d look at setting it all up.

    I’m just wondering if everyone just uses GitHub on a paid plan to host private repo’s or (as I’m sure we all have our own dedicated servers/decent hosting boxes) do some of you setup git on your web server and use that for your git hosting?

    At this stage I’m just exploring the whole workflow and I know the basic plan at gitHub is extremely affordable but I’m just wondering if there is an upside in using gitHub if all my stuff is going to be private and I have a stable dedicated server that I could use instead?

  • #2 / Jun 09, 2009 10:27am

    John Fuller

    779 posts

    Still don’t see the point of using Git with ExpressionEngine development.  I use Git as an SCM for my coding projects, but not with EE.  I could see Git as being useful for templates saved as files, but I generally work with designers who wouldn’t use Git without a lot of arm twisting.

    What is there to track with EE?  What changes are being made that you would have the need to track?  If I lose all EE files and add-on’s I can get the site back to it’s exact previous state just by downloading all the source files from the developers.  The database on the other hand…

    As for Github, if you are using Github with EE surely you must have a private account or else you would be providing EE to the world as a free download.  The only advantage I see with Github is making the source easily browsable and easily available to anyone who want’s to grab your work.

    Why not just use Rsync to create backups of your files and DB (along with a script to dump your DB?)

    And why Git?  I never heard anyone talking about this with Subversion.  I think there must be some sort of geeky cool factor that makes EE developers want to use Git with their workflow.  I still don’t get it though.

  • #3 / Jun 09, 2009 10:38am

    Dane Thomas

    139 posts

    There is definitely an element of ‘seeing what the fuss is about’ in me setting up Git. I’ve never lost anything major that required hours or days or re-working to get things back.

    Up until now I work with templates saved as files directly on my dedicated server which of course does nightly backups.

    I’m definitely more of a designer than a developer so pretty much all of my stuff is just template code and designs.

    I ended up setting up git on my two OSX machine and on the dedciated server and am using gitosis to handle the users/and connections. Everything seems to be working well and I was just curious to hear what other workflows people had.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases