Re: localhost + staging + production environments? [message #171186 is a reply to message #171184] |
Wed, 29 December 2010 04:38 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 12/28/2010 10:36 PM, mentor wrote:
> Hello,
>
> I have a website say www.livesite.com which is currently running. I
> have been developing a new version of the website on my local machine
> with http://localhost and then committing my changes with svn to
> www.testsite.com where I would test the site on the livesite.com
> server but under another domain (its the same environment as the live
> site but under a different domain).
>
> Now I am ready to release the new version to livesite.com. Doing it
> the first time is easy, I could just copy& paste everything from
> testsite.com to livesite.com (not sure its the best way to do it).
>
> I want to keep testsite.com as a testing site where I would push
> updates, test them and once satisfied move to livesite.com but I am
> not sure how to do that after the new site is launched.. I don't think
> copy pasting the whole directory is the right way of doing it and it
> will break the operations of current users on the livesite.com.
>
> I also want to keep my svn history on testsite.com. What is the
> correct way of doing this with SVN ? Thank you so much!
And your PHP question is?
Among other things, SVN questions should be asked in a group associated
with svn. And how to move one site to another has nothing to do with PHP.
BTW- unless you are Dale Beckles or Mike Coyne, you should not be using
their duly registered domain names (livesite.com and testsite.com,
respectively). Use example.com, example.org, etc. That's what they are
reserved for.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|