Solved

Best Practice Workflow for Git and Drupal ?

Posted on 2013-12-13
3
536 Views
Last Modified: 2014-01-13
Ok, I'm putting together a plan to implement Git for the first time in our environment for Drupal development.

We will have a Dev, Staging and Prod. on separate physical boxes.

Can't use a public/commercial Git server, so we will have to stand up a Git server ourselves.

Attached is the initial draft of the network/workflow:

1) All coding done on dev (drupal.ourwebsite.com)
2) Pushed to Staging
3) Finally, pushed to Production


1) Am I on the right track?

2) Do content authors edit and create content directly in Production? Or does their edit have to go through Git version control?

3) Installing/activating modules part of the version control ? Or would we be installing/activating across all three boxes when a module is approved?
ii.JPG
0
Comment
Question by:sandshakimi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 13

Expert Comment

by:Arrow_1
ID: 39718190
Database changes won't be included in the git workflow. Much of what Drupal does is in the database, so those changes will need to be manually applied on each system. This includes adding/editing content, enabling modules, changing settings, modifying menus, and just about anything that is done through the Drupal admin interface. Basically, yes, content should be managed on the production server. The only thing that will go through your git workflow will be actual code changes.
0
 

Author Comment

by:sandshakimi
ID: 39724293
So in essence, the value of Git version control is for HTML, CSS, JavaScript and PHP edits that don't involve database/administrative transactions ?
0
 
LVL 13

Accepted Solution

by:
Arrow_1 earned 500 total points
ID: 39724925
Correct.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
git update.. 5 106
General practice to setup GIT on windows for a medium size client 2 96
git error when attempting to push code to git server 1 109
Customizing themes 14 110
When working in a large software development team, whether you have many developers working on the same projects, or your project is linked to other projects; it is very important that developers regularly perform "get latest" to ensure that the cha…
Article by: gr8gonzo
Git can be a complicated version control system for beginners, but it definitely is one of the best ones out there. Since this article assumes that you're starting at square one, it will skip over things that Git -can- do and will focus on the typic…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question