Re: How to organize django projects on a productive server?

2009-09-16 Thread Mark (Nosrednakram)
Hello Orschiro, If you are the sole developer working in your home directory is OK but if you grow you'll have to grant access to your home directory to someone else. If you are building applications on a *nix type server I'd recommend storing your base project(S) in /opt/django. Any

Re: How to organize django projects on a productive server?

2009-09-15 Thread Daniel Roseman
On Sep 15, 9:08 pm, orschiro wrote: > Hello Daniel, > > so the projects could be as well on the users home path? > > It makes more sense for me to put them on the home path than anywhere > else. As long as the web server process has the relevant permissions for those

Re: How to organize django projects on a productive server?

2009-09-15 Thread orschiro
Hello Andrew, thanks for that detailed reply. :) So the key for development and deployment is a VCS such as SVN or Git? In short: Your developers are pushing the changes up to the branches on the stating server where a release is going to be created. Then it is going to be transfered to the

Re: How to organize django projects on a productive server?

2009-09-15 Thread orschiro
Hello Daniel, so the projects could be as well on the users home path? It makes more sense for me to put them on the home path than anywhere else. On 15 Sep., 21:59, Daniel Roseman wrote: > On Sep 15, 8:49 pm, orschiro wrote: > > > Hello Léon

Re: How to organize django projects on a productive server?

2009-09-15 Thread Léon Dignòn
The reason is that I use Debian and /var/www is just Debian's default folder (and herewith apache's). You can basically put your code wherever you like. But you shouldn't put your code beneath apache's document root (document_root is a setting in the apache.conf). My docroots are configured

Re: How to organize django projects on a productive server?

2009-09-15 Thread Daniel Roseman
On Sep 15, 8:49 pm, orschiro wrote: > Hello Léon Dignòn, > > you told that your projects lie beneath /var/www.. > > So the reason for that is that you might use Apache? > > As I remember (I'm using nginx instead of Apache) this is the default > directory. > It's a very

Re: How to organize django projects on a productive server?

2009-09-15 Thread orschiro
Hello Léon Dignòn, you told that your projects lie beneath /var/www.. So the reason for that is that you might use Apache? As I remember (I'm using nginx instead of Apache) this is the default directory. On 15 Sep., 21:35, Léon Dignòn wrote: > On Sep 15, 9:28 pm,

Re: How to organize django projects on a productive server?

2009-09-15 Thread Andrew McGregor
You've asked a lot! I'll start with this question: > And final, are you developing on your local machine with the > development server or immedeatly at the server via ssh? Loads of different ways, but I do this: * Production server - dedicated Debian host * Staging server - hosted Debian VM

Re: How to organize django projects on a productive server?

2009-09-15 Thread Léon Dignòn
On Sep 15, 9:28 pm, orschiro wrote: > Hello guys, > > first, I know it is not that important how to do this but as I'm > pretty knew and callow I'd like to know how some experienced users do > that. > > At the moment I have just a normal user account besides my root

How to organize django projects on a productive server?

2009-09-15 Thread orschiro
Hello guys, first, I know it is not that important how to do this but as I'm pretty knew and callow I'd like to know how some experienced users do that. At the moment I have just a normal user account besides my root that stores all my django projects. Also my django trunk lives in there.