Re: Deployment with Subversion

2007-03-20 Thread [EMAIL PROTECTED]
Thanks everyone for the suggestions. I might have "over-done" my solution, but it works and my colleagues, clients and myself are satisfied. If you're interested, I use JSON to specify some settings with should override those in settings.py. See http://gnuvince.net/?p=371 for more information.

Re: Deployment with Subversion

2007-03-15 Thread Robert Coup
ScottB wrote: > One thing to consider when serving a working copy is all those .svn > directories could be accessible via your web server. Assuming your > code isn't within your web server's root (which it shouldn't be), > there's probably not much that can go wrong. Still, it might be worth > c

Re: Deployment with Subversion

2007-03-15 Thread Jens Diemer
Kenneth Gonsalves schrieb: > never ever put settings.py under version control ack. In PyLucid i put only a settings-example.py into my svn: http://pylucid.net/trac/browser/branches/0.8%28django%29/PyLucid/settings-example.py In the handler file (here a CGI handler), i check this: ---

Re: Deployment with Subversion

2007-03-15 Thread ScottB
Hi Vincent. On Mar 14, 5:16 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Does anyone have tricks to make this process a bit more efficient and > not catastrophic in case we forget to copy the settings.py file? I use conditionals inside my settings.py so that one lot of paths/ settings ge

Re: Deployment with Subversion

2007-03-14 Thread Kenneth Gonsalves
On 14-Mar-07, at 10:46 PM, [EMAIL PROTECTED] wrote: > how do people deploy Django projects with subversion? We did a simple > checkout at a client's and when we need to do updates, we copy his > settings.py file somewhere outside the directory, do the svn update, > we copy the settings.py neve

Re: Deployment with Subversion

2007-03-14 Thread Ned Batchelder
Also, keep in mind that you can tell svn to ignore a particular file even though it is located in a working directory. We keep a settings.py under svn control, and have it import a local.py which is ignored. This way, each developer can make local modifications without fear of accidentally po

Re: Deployment with Subversion

2007-03-14 Thread Malcolm Tredinnick
On Wed, 2007-03-14 at 17:16 +, [EMAIL PROTECTED] wrote: > Hello, > > how do people deploy Django projects with subversion? We did a simple > checkout at a client's and when we need to do updates, we copy his > settings.py file somewhere outside the directory, do the svn update, > we copy the

Re: Deployment with Subversion

2007-03-14 Thread Bob T.
Hi Vincent, Check out http://code.djangoproject.com/wiki/DosAndDontsForApplicationWriters. Bob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-user

Re: Deployment with Subversion

2007-03-14 Thread Bob T.
This one is a bit more direct: http://code.djangoproject.com/wiki/SplitSettings Bob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegrou

Re: Deployment with Subversion

2007-03-14 Thread Bob T.
This one is a bit more direct: http://code.djangoproject.com/wiki/SplitSettings Bob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegrou