FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » localhost + staging + production environments?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: localhost + staging + production environments? [message #171229 is a reply to message #171193] Wed, 29 December 2010 18:21 Go to previous message
Kentor is currently offline  Kentor
Messages: 5
Registered: September 2010
Karma:
Junior Member
On Dec 29, 12:54 am, "J.O. Aho" <u...@example.net> wrote:
> kentor wrote:
>> Hello,
>
>> I have a website saywww.livesite.comwhich is currently running. I
>> have been developing a new version of the website on my local machine
>> withhttp://localhostand then committing my changes with svn to
>> www.testsite.comwhere 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!
>
> As Jerry mentions, this is a bit off topic, but I think you have two options
>
> 1. You use svn to check out the live branch on the live environment, just see
> to that the .svn directories can't be accessed trough the web (configure your
> apache to not display those).
>
> 2. You rsync the code from the test environment to the live environment.
>
> I think the first one would be a better one, as you may want to make some
> changes in the live environment at the same time as you are working on a major
> update on the testing/developing branch of the code.
>
> --
>
>   //Aho

Thank you
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: mathematic structures
Next Topic: Google calendar and apps
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 23:25:13 GMT 2024

Total time taken to generate the page: 0.04906 seconds