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.

Help with git workflow

October 03, 2012 11:36pm

Subscribe [3]
  • #1 / Oct 03, 2012 11:36pm

    greg.thompson

    12 posts

    Hi guys, just started using EE more and more and moving somewhat away from full CI builds. The one issue I seem to be running into over and over is working with repo’s and updating a site. I currently work all offline and push my changes live. I find that if I’m working on a few templates and push them live there seems to be all sorts of issues with synchronizing etc. to the point that it doesn’t even recognize the new templates. I found the only way I can edit templates locally and push them to the live site is to also push the local db with it. This seems ridiculous to do and right now the only way I can see this working is pulling down the live db, importing it locally, doing your template changes then pushing them all live while changing template and site paths both times. So my question is…

    Am I crazy? Is there a better way to do this? I need something that’s a lot easier than all that. What am I missing? Thanks guys!

  • #2 / Oct 03, 2012 11:40pm

    Once you push your changes, all you should have to do is synchronize the templates. Have you tried running: Design -> Templates -> Synchronize Templates after a push?

  • #3 / Oct 03, 2012 11:42pm

    greg.thompson

    12 posts

    Yeah, i’ve done this but they usually say they’re already synced… even if the files are up there and new.. really weird.

  • #4 / Oct 03, 2012 11:45pm

    Are both the live server and local time set correctly? I essentially have the same work flow, GIT tracked local development workflow, and push all templates upstream live and it’s as simple as sync’ing templates for me.

  • #5 / Oct 04, 2012 12:48am

    greg.thompson

    12 posts

    Actually that’s a really good thought, I should check that. I know mediatemple changed their guidelines recently on timezones. I have to physically set it in all my CI deployments.

  • #6 / Oct 04, 2012 9:26am

    Phil Ecker

    78 posts

    Hey Guys, This might be off topic, but I’m new to Git and was wondering how you deploy to your production servers? Have any resources that would be helpful for understanding how I might want to set up everything up? Thanks!

  • #7 / Oct 05, 2012 1:32pm

    Shane Eckert

    7174 posts

    Hey all,

    Some great discussion going on here.

    Just thought I would like to EE Master Config as a great way to use Git and ExpressionEngine.

    Have a great weekend guys!

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases