Re: Help getting started.....I think it is installed correctly

7 views
Skip to first unread message
Message has been deleted

Acorn

unread,
Jan 1, 2011, 1:31:27 PM1/1/11
to django...@googlegroups.com
You can put your code anywhere you like although you shouldn't put it
anywhere public.

Just pick a private folder somewhere and let django-admin.py set up the folder.

On 1 January 2011 16:14, Anthony Pearce <code...@gmail.com> wrote:
> Quote from "Writing your first Django app, part 1":
>
> From the command line, cd into a directory where you’d like to store
> your code, then run the command django-admin.py startproject mysite.
> This will create a mysite directory in your current directory.
>
> Put your code in some directory outside of the document root, such as /
> home/mycode.
>
>
> OK, please explain where /hom/mycode should be located.  Is it
> directly on the C:, or like I have a www folder for playing with html,
> or within the Python directory somewhere?   Sorry, but I'm looking at
> this again for the first time in over a year, and need a bump start.
>
> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to django-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>
>

Anthony Pearce

unread,
Jan 1, 2011, 7:59:16 PM1/1/11
to Django users
OK thank you. One last question though. What makes a folder private?
Sorry but I really am a noob at this.

On Jan 2, 3:31 am, Acorn <shiniest.ac...@gmail.com> wrote:
> You can put your code anywhere you like although you shouldn't put it
> anywhere public.
>
> Just pick a private folder somewhere and let django-admin.py set up the folder.
>
> On 1 January 2011 16:14, Anthony Pearce <coden...@gmail.com> wrote:
>
>
>
> > Quote from "Writing your first Django app, part 1":
>
> > From the command line, cd into a directory where you’d like to store
> > your code, then run the command django-admin.py startproject mysite.
> > This will create a mysite directory in your current directory.
>
> > Put your code in some directory outside of the document root, such as /
> > home/mycode.
>
> > OK, please explain where /hom/mycode should be located.  Is it
> > directly on the C:, or like I have a www folder for playing with html,
> > or within the Python directory somewhere?   Sorry, but I'm looking at
> > this again for the first time in over a year, and need a bump start.
>
> > --
> > You received this message because you are subscribed to the Google Groups "Django users" group.
> > To post to this group, send email to django...@googlegroups.com.
> > To unsubscribe from this group, send email to django-users...@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.- Hide quoted text -
>
> - Show quoted text -

Blue Cuenca

unread,
Jan 1, 2011, 8:00:09 PM1/1/11
to django...@googlegroups.com
/home/mycode or /home is a linux location. Apparently, you are using
windows.

I would suggest creating a folder for all your django projects, say
C:\DjangoProjects\ , and run django-admin.py from there.

You do not want to put your django project folder in your www folder,
since that may allow access to the sources themselves, instead of
running them to create the html.


On 1/2/2011 12:14 AM, Anthony Pearce wrote:
> Quote from "Writing your first Django app, part 1":
>

>>From the command line, cd into a directory where you�d like to store

Anthony Pearce

unread,
Jan 1, 2011, 8:22:31 PM1/1/11
to Django users
Thank you, that helps. Will give it a shot.

On Jan 2, 10:00 am, Blue Cuenca <azue...@gmail.com> wrote:
> /home/mycode or /home is a linux location.  Apparently, you are using
> windows.
>
> I would suggest creating a folder for all your django projects, say
> C:\DjangoProjects\ , and run django-admin.py from there.
>
> You do not want to put your django project folder in your www folder,
> since that may allow access to the sources themselves, instead of
> running them to create the html.
>
> On 1/2/2011 12:14 AM, Anthony Pearce wrote:
>
>
>
> > Quote from "Writing your first Django app, part 1":
>
> >>From the command line, cd into a directory where you d like to store
> > your code, then run the command django-admin.py startproject mysite.
> > This will create a mysite directory in your current directory.
>
> > Put your code in some directory outside of the document root, such as /
> > home/mycode.
>
> > OK, please explain where /hom/mycode should be located.  Is it
> > directly on the C:, or like I have a www folder for playing with html,
> > or within the Python directory somewhere?   Sorry, but I'm looking at
> > this again for the first time in over a year, and need a bump start.- Hide quoted text -
Reply all
Reply to author
Forward
0 new messages