git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Koch <thomas@koch.ro>
To: Sukhwinder Singh <php_programmer_india@hotmail.com>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: Git Deployment Multiple Existing Environments
Date: Tue, 1 Sep 2015 10:34:11 +0200	[thread overview]
Message-ID: <201509011034.11257.thomas@koch.ro> (raw)
In-Reply-To: <BAY180-W4617CD6AE98F64442A918BC26A0@phx.gbl>

On Tuesday, September 01, 2015 09:50:45 AM Sukhwinder Singh wrote:
> Hello,
> I am kind of new to Git and I have a question regarding using Git for a
> website. I have searched a lot but haven't found a solution yet. We
> already have 3-4 environments setup on our Windows servers without Git and
> each environment already has code which is different from each other.
> 
> There are three environments
> Live
> UAT
> Test (has the latest code)
> 
> 
> And then developers have their local copies.
> 
> We write and test the code locally and manually move each point from one
> environment to other using merging software and test at each environment.
> Now we want to use git because manually moving the code is a lengthy
> process. Also as the developers have local copies, it is very difficult to
> manage code.
> 
> Code is written locally by the team and then after testing locally it is
> first merged with "Test" environment code, then "UAT" and then, finally
> with "Live". So we have two concerns:
> 
> There is different code already existing on these environments.
> Testing the code on each environment using the web server.
> 
> What is the best way to go about it? As I am new to git more details will
> be helpful, like commands to use.
> 
> Thanks, 		 	   		  --

There are douzends of different git deployment scripts on github from minimal 
to multi-data-center-enterprise-grade. I wrote this one for my workplace:

https://github.com/comsolit/comsolit_deploy

The README contains links to alternative solutions.

Thomas Koch

  reply	other threads:[~2015-09-01  8:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-01  7:50 Git Deployment Multiple Existing Environments Sukhwinder Singh
2015-09-01  8:34 ` Thomas Koch [this message]
     [not found]   ` <BAY180-W19A853193986EA50E27C1BC2680@phx.gbl>
2015-09-03  7:30     ` Thomas Koch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201509011034.11257.thomas@koch.ro \
    --to=thomas@koch.ro \
    --cc=git@vger.kernel.org \
    --cc=php_programmer_india@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).