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
Switch to threaded view of this topic Create a new topic Submit Reply
localhost + staging + production environments? [message #171184] Wed, 29 December 2010 03:36 Go to next message
Kentor is currently offline  Kentor
Messages: 5
Registered: September 2010
Karma: 0
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!
Re: localhost + staging + production environments? [message #171186 is a reply to message #171184] Wed, 29 December 2010 04:38 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
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
==================
Re: localhost + staging + production environments? [message #171190 is a reply to message #171186] Wed, 29 December 2010 05:00 Go to previous messageGo to next message
Kentor is currently offline  Kentor
Messages: 5
Registered: September 2010
Karma: 0
Junior Member
On Dec 28, 11:38 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> On 12/28/2010 10:36 PM, mentor 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!
>
> 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.
> jstuck...@attglobal.net
> ==================

Thank you for your kind answer. The reason I'm asking here, is because
I am not sure whether this is an SVN question. I assume that
developers using PHP may have/want a similar setup so they might be
able to help. As tempting as it is to give you a less formal answer, I
will keep it as is.
Re: localhost + staging + production environments? [message #171193 is a reply to message #171184] Wed, 29 December 2010 05:54 Go to previous messageGo to next message
J.O. Aho is currently offline  J.O. Aho
Messages: 194
Registered: September 2010
Karma: 0
Senior Member
kentor 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!

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
Re: localhost + staging + production environments? [message #171200 is a reply to message #171190] Wed, 29 December 2010 13:17 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 12/29/2010 12:00 AM, kentor wrote:
> On Dec 28, 11:38 pm, Jerry Stuckle<jstuck...@attglobal.net> wrote:
>> On 12/28/2010 10:36 PM, mentor 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!
>>
>> 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.
>>

> Thank you for your kind answer. The reason I'm asking here, is because
> I am not sure whether this is an SVN question. I assume that
> developers using PHP may have/want a similar setup so they might be
> able to help. As tempting as it is to give you a less formal answer, I
> will keep it as is.

So, in other words, because you can't be bothered to look for an
appropriate place to ask your question, the rest of the newsgroup has to
be bothered by your off-topic post.

And as tempting as it is to give YOU a less formal answer, I will keep
it as it is.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: localhost + staging + production environments? [message #171229 is a reply to message #171193] Wed, 29 December 2010 18:21 Go to previous messageGo to next message
Kentor is currently offline  Kentor
Messages: 5
Registered: September 2010
Karma: 0
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
OT Re: localhost + staging + production environments? [message #171345 is a reply to message #171200] Thu, 30 December 2010 14:41 Go to previous messageGo to next message
Twayne is currently offline  Twayne
Messages: 135
Registered: September 2010
Karma: 0
Senior Member
In news:iffcd7$bus$1(at)news(dot)eternal-september(dot)org,
Jerry Stuckle <jstucklex(at)attglobal(dot)net> typed:
> On 12/29/2010 12:00 AM, kentor wrote:
>> On Dec 28, 11:38 pm, Jerry
>> Stuckle<jstuck...@attglobal.net> wrote:
>>> On 12/28/2010 10:36 PM, mentor 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!
>>>
>>> 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.
>
>> Thank you for your kind answer. The reason I'm asking
>> here, is because I am not sure whether this is an SVN
>> question. I assume that developers using PHP may have/want
>> a similar setup so they might be able to help. As tempting
>> as it is to give you a less formal answer, I will keep it
>> as is.
>
> So, in other words, because you can't be bothered to look
> for an appropriate place to ask your question, the rest of
> the newsgroup has to be bothered by your off-topic post.
>
> And as tempting as it is to give YOU a less formal answer,
> I will keep it as it is.

Gads, what a wasteful cad you are stuckle! You're always willing to troll,
err, I mean, shoot back again, doubling the amount of sh_t, but I never see
you post anything useful. Not that I read you much anymore but you're still
wasting space.
Re: OT Re: localhost + staging + production environments? [message #171348 is a reply to message #171345] Thu, 30 December 2010 15:57 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 12/30/2010 9:41 AM, Twayne wrote:
>
> Gads, what a wasteful cad you are stuckle! You're always willing to troll,
> err, I mean, shoot back again, doubling the amount of sh_t, but I never see
> you post anything useful. Not that I read you much anymore but you're still
> wasting space.
>
>

ROFLMAO! Straight from the troll's mouth.

We all know you have to troll - after all, you are too stoopid to make
any helpful comments - as so many people have already told you. No
wonder you won't use your real name.

Now why don't you just get your shovel out and join your pal TNP in
digging ditches. Maybe between the two of you you can figure out which
end of the shovel to use.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: OT Re: localhost + staging + production environments? [message #171350 is a reply to message #171348] Thu, 30 December 2010 16:01 Go to previous messageGo to next message
me is currently offline  me
Messages: 192
Registered: September 2010
Karma: 0
Senior Member
On 12/30/2010 10:57 AM, Jerry Stuckle wrote:
> On 12/30/2010 9:41 AM, Twayne wrote:
>>
>> Gads, what a wasteful cad you are stuckle! You're always willing to
>> troll,
>> err, I mean, shoot back again, doubling the amount of sh_t, but I
>> never see
>> you post anything useful. Not that I read you much anymore but you're
>> still
>> wasting space.
>>
>>
>
> ROFLMAO! Straight from the troll's mouth.
>
> We all know you have to troll - after all, you are too stoopid to make
> any helpful comments - as so many people have already told you. No
> wonder you won't use your real name.
>
> Now why don't you just get your shovel out and join your pal TNP in
> digging ditches. Maybe between the two of you you can figure out which
> end of the shovel to use.
>
>

Manners, Mr. Stuckle. You can make your point without demeaning yourself
or others.

Bill B
Re: OT Re: localhost + staging + production environments? [message #171351 is a reply to message #171350] Thu, 30 December 2010 17:28 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 12/30/2010 11:01 AM, Bill Braun wrote:
> On 12/30/2010 10:57 AM, Jerry Stuckle wrote:
>> On 12/30/2010 9:41 AM, Twayne wrote:
>>>
>>> Gads, what a wasteful cad you are stuckle! You're always willing to
>>> troll,
>>> err, I mean, shoot back again, doubling the amount of sh_t, but I
>>> never see
>>> you post anything useful. Not that I read you much anymore but you're
>>> still
>>> wasting space.
>>>
>>>
>>
>> ROFLMAO! Straight from the troll's mouth.
>>
>> We all know you have to troll - after all, you are too stoopid to make
>> any helpful comments - as so many people have already told you. No
>> wonder you won't use your real name.
>>
>> Now why don't you just get your shovel out and join your pal TNP in
>> digging ditches. Maybe between the two of you you can figure out which
>> end of the shovel to use.
>>
>>
>
> Manners, Mr. Stuckle. You can make your point without demeaning yourself
> or others.
>
> Bill B

Just talking to him in the only language he understands, Bill.

Look back through his posts in this and other newsgroups and you'll see
what I mean.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: OT Re: localhost + staging + production environments? [message #171379 is a reply to message #171350] Fri, 31 December 2010 02:15 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
Bill Braun wrote:
> On 12/30/2010 10:57 AM, Jerry Stuckle wrote:
>> On 12/30/2010 9:41 AM, Twayne wrote:
>>>
>>> Gads, what a wasteful cad you are stuckle! You're always willing to
>>> troll,
>>> err, I mean, shoot back again, doubling the amount of sh_t, but I
>>> never see
>>> you post anything useful. Not that I read you much anymore but you're
>>> still
>>> wasting space.
>>>
>>>
>>
>> ROFLMAO! Straight from the troll's mouth.
>>
>> We all know you have to troll - after all, you are too stoopid to make
>> any helpful comments - as so many people have already told you. No
>> wonder you won't use your real name.
>>
>> Now why don't you just get your shovel out and join your pal TNP in
>> digging ditches. Maybe between the two of you you can figure out which
>> end of the shovel to use.
>>
>>
>
> Manners, Mr. Stuckle. You can make your point without demeaning yourself
> or others.
>

Nope, in 3 years of watching (though the last only at second hand) I
have come to the absolute conclusion that what you ask of Mr Stuckle is
beyond his power to deliver.


> Bill B
Re: OT Re: localhost + staging + production environments? [message #171385 is a reply to message #171379] Fri, 31 December 2010 10:51 Go to previous messageGo to next message
me is currently offline  me
Messages: 192
Registered: September 2010
Karma: 0
Senior Member
On 12/30/2010 9:15 PM, The Natural Philosopher wrote:
> Bill Braun wrote:
>> On 12/30/2010 10:57 AM, Jerry Stuckle wrote:
>>> On 12/30/2010 9:41 AM, Twayne wrote:
>>>>
>>>> Gads, what a wasteful cad you are stuckle! You're always willing to
>>>> troll,
>>>> err, I mean, shoot back again, doubling the amount of sh_t, but I
>>>> never see
>>>> you post anything useful. Not that I read you much anymore but you're
>>>> still
>>>> wasting space.
>>>>
>>>>
>>>
>>> ROFLMAO! Straight from the troll's mouth.
>>>
>>> We all know you have to troll - after all, you are too stoopid to make
>>> any helpful comments - as so many people have already told you. No
>>> wonder you won't use your real name.
>>>
>>> Now why don't you just get your shovel out and join your pal TNP in
>>> digging ditches. Maybe between the two of you you can figure out which
>>> end of the shovel to use.
>>>
>>>
>>
>> Manners, Mr. Stuckle. You can make your point without demeaning
>> yourself or others.
>>
>
> Nope, in 3 years of watching (though the last only at second hand) I
> have come to the absolute conclusion that what you ask of Mr Stuckle is
> beyond his power to deliver.
>
>
>> Bill B

If you expectations are that low you shouldn't be surprised that he has
lived down to them. My expectations of Mr. Stuckle are exceedingly high,
as are my expectations of you, and I am confident he will deliver.

Bill B
Re: OT Re: localhost + staging + production environments? [message #171395 is a reply to message #171385] Fri, 31 December 2010 20:28 Go to previous message
Fred Atkinson is currently offline  Fred Atkinson
Messages: 1
Registered: December 2010
Karma: 0
Junior Member
On Fri, 31 Dec 2010 05:51:03 -0500, Bill Braun <me(at)privacy(dot)net> wrote:

> On 12/30/2010 9:15 PM, The Natural Philosopher wrote:
>> Bill Braun wrote:
>>> On 12/30/2010 10:57 AM, Jerry Stuckle wrote:
>>>> On 12/30/2010 9:41 AM, Twayne wrote:
>>>> >
>>>> > Gads, what a wasteful cad you are stuckle! You're always willing to
>>>> > troll,
>>>> > err, I mean, shoot back again, doubling the amount of sh_t, but I
>>>> > never see
>>>> > you post anything useful. Not that I read you much anymore but you're
>>>> > still
>>>> > wasting space.
>>>> >
>>>> >
>>>>
>>>> ROFLMAO! Straight from the troll's mouth.
>>>>
>>>> We all know you have to troll - after all, you are too stoopid to make
>>>> any helpful comments - as so many people have already told you. No
>>>> wonder you won't use your real name.
>>>>
>>>> Now why don't you just get your shovel out and join your pal TNP in
>>>> digging ditches. Maybe between the two of you you can figure out which
>>>> end of the shovel to use.
>>>>
>>>>
>>>
>>> Manners, Mr. Stuckle. You can make your point without demeaning
>>> yourself or others.
>>>
>>
>> Nope, in 3 years of watching (though the last only at second hand) I
>> have come to the absolute conclusion that what you ask of Mr Stuckle is
>> beyond his power to deliver.
>>
>>
>>> Bill B
>
> If you expectations are that low you shouldn't be surprised that he has
> lived down to them. My expectations of Mr. Stuckle are exceedingly high,
> as are my expectations of you, and I am confident he will deliver.
>
> Bill B

In dealing with Mr. Stuckle in the past, I have come to the
conclusion that he is a well bred gentleman and scholar.

If he said that, you can be it's on the mark.

Happy New Year,




Fred
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: mathematic structures
Next Topic: Google calendar and apps
Goto Forum:
  

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

Current Time: Wed Nov 27 07:57:54 GMT 2024

Total time taken to generate the page: 0.04674 seconds