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 <leon.dig...@gmail.com> wrote:
> On Sep 15, 9:28 pm, orschiro <orsch...@googlemail.com> 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 that
> > stores all my django projects. Also my django trunk lives in there.
>
> > Another point what interests me. Are you using a central directory for
> > static files and templates etc. that are available for all your
> > projects or does every project have its own directories in there?
>
> My Django projects lie beneath /var/www/django/
> Templates and media files are in /var/www/django/myproject/
> templates,media (the comma means that there are two separate folders)
>
> Before that I had a folder called /var/www/django/templates,media/
> myproject
> But because I moved them often I changed to a centralized project
> folder like now/above.
>
> > And final, are you developing on your local machine with the
> > development server or immedeatly at the server via ssh?
>
> As soon as your website is published you should use a dev server to
> test your new code. So problems are not published to your visitors.
>
> > If yes, how do you deploy your project and about what points do you
> > have to concern while doing that?
>
> > Anyway, is there any good documentation how good deployment on a
> > server might look like?
>
> Yes, look at the deployment docs on the django documentation website.
>
> > I know, a bunch of questions but answers would be very helpful for
> > me.
>
> > Thank you guys. :)
--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to