localhost + staging + production environments? [message #171184] |
Wed, 29 December 2010 03:36 |
Kentor
Messages: 5 Registered: September 2010
Karma:
|
Junior Member |
|
|
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!
|
|
|