oh.. you might also want to have a different pythoninterpreter
add the following to your virtual hosts.
PythonInterpreter xxx_prod
and
PythonInterpreter xxx_dev
On 19/05/2006, at 8:20 AM, Rob Hudson wrote:
>
> I've recently completed a first milestone of a project and want to
> publish it. I've got two URLs: www.mydomain.com and dev.mydomain.com.
> I'm not too concerned if dev is public, I just don't want to break the
> production website while I'm developing.
>
> What's the best way to handle this?
>
> Currently I only have the dev website -- the current production
> website
> is static HTML.
>
> I was thinking the dev site could have it's own path separate from the
> production website. The dev website is checked out from subversion as
> the trunk and the production is checked out from tags.
>
> Based on my virtual hosts, can I have the production site list:
> SetEnv DJANGO_SETTINGS_MODULE website.settings
> and the dev site list:
> SetEnv DJANGO_SETTINGS_MODULE website_dev.settings
> and everything work?
>
> Is there something more I need to consider? Is anyone else doing
> something similar?
>
> Thanks,
> Rob
>
>
> >
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.54.68.11 with SMTP id q11mr156202wra;
Sat, 20 May 2006 15:50:18 -0700 (PDT)
Return-Path: <[EMAIL PROTECTED]>
Received: from circe.holsman.net (218-214-209-234.people.net.au
[218.214.209.234])
by mx.googlegroups.com with ESMTP id v23si497102cwb.2006.05.20.15.50.16;
Sat, 20 May 2006 15:50:18 -0700 (PDT)
Received-SPF: neutral (googlegroups.com: 218.214.209.234 is neither permitted
nor denied by domain of [EMAIL PROTECTED])
Received: from [127.0.0.1] (localhost [127.0.0.1])
by circe.holsman.net (Postfix) with ESMTP id C20B01C5D8C
for <[email protected]>; Sun, 21 May 2006 08:50:04 +1000
(EST)
Mime-Version: 1.0
Content-Type: text/plain
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-Id: <[EMAIL PROTECTED]>
From: Ian Holsman <[EMAIL PROTECTED]>
Subject: Re: Best way to run dev and production site concurrently on same
server?
Date: Sun, 21 May 2006 08:50:03 +1000
To: [email protected]
X-Mailer: Apple Mail (2.750)
oh.. you might also want to have a different pythoninterpreter
add the following to your virtual hosts.
PythonInterpreter xxx_prod
and
PythonInterpreter xxx_dev
On 19/05/2006, at 8:20 AM, Rob Hudson wrote:
>
> I've recently completed a first milestone of a project and want to
> publish it. I've got two URLs: www.mydomain.com and dev.mydomain.com.
> I'm not too concerned if dev is public, I just don't want to break the
> production website while I'm developing.
>
> What's the best way to handle this?
>
> Currently I only have the dev website -- the current production
> website
> is static HTML.
>
> I was thinking the dev site could have it's own path separate from the
> production website. The dev website is checked out from subversion as
> the trunk and the production is checked out from tags.
>
> Based on my virtual hosts, can I have the production site list:
> SetEnv DJANGO_SETTINGS_MODULE website.settings
> and the dev site list:
> SetEnv DJANGO_SETTINGS_MODULE website_dev.settings
> and everything work?
>
> Is there something more I need to consider? Is anyone else doing
> something similar?
>
> Thanks,
> Rob
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---