How do I set up a python web server on Windows XP?

37 views
Skip to first unread message

Jason

unread,
Sep 19, 2008, 10:35:48 AM9/19/08
to Django users
OK, I am literally at the end of my tether. I would like to get
started on this but I can't work out how to get a python server
running on windows XP... can someone link me to something... somewhere
that will give me instruction on how to get this going.

Thanks

Karen Tracey

unread,
Sep 19, 2008, 10:38:57 AM9/19/08
to django...@googlegroups.com

If you are just getting started why not use the development server that comes with Django?  It's also not particularly difficult to get Apache installed and running on Windows, but I don't know why you would start with that since for learning and initial development the development server is much easier.

Karen

Jason

unread,
Sep 19, 2008, 11:16:45 AM9/19/08
to Django users
OK, dumb question... it comes with a server?

Do you have a link?

How do I get this development server running?

Karen Tracey

unread,
Sep 19, 2008, 11:29:07 AM9/19/08
to django...@googlegroups.com
On Fri, Sep 19, 2008 at 11:16 AM, Jason <JasonSt...@gmail.com> wrote:

A quick run through the online tutorial http://docs.djangoproject.com/en/dev/intro/tutorial01/#intro-tutorial01 should answer that and many other questions you'll probably encounter as you get started.

Karen

Jason

unread,
Sep 19, 2008, 11:45:41 AM9/19/08
to Django users
I have read through that. It has taken me around and around in
circles. I have spent a day on this and haven't typed a line of code.
The guide seems to be written for OSX or Linux. As a Windows user I
feel lost, confused and frustrated.

I even went out to my library and rented a copy of their Django
book... yet that doesn't cover how to get going on XP...

I gave rails a spin... took me 10-15 minutes to read the
documentation, install everything I needed to and set up a new
project. Before I get completely into Ruby I wanted to give Django a
spin and compare the two. Unfortunately... I have spent 5 hours
messing around and waiting for support via various means. I have got
no where... haven't even hit the command line.

I am a patient guy but geez, I sure hope that development is easier
than setting this up.

Are there any resources.. any blog posts... anything with a step by
step set up on XP?

Brian Neal

unread,
Sep 19, 2008, 12:14:36 PM9/19/08
to Django users
On Sep 19, 10:45 am, Jason <JasonStanle...@gmail.com> wrote:
> I have read through that. It has taken me around and around in
> circles. I have spent a day on this and haven't typed a line of code.
> The guide seems to be written for OSX or Linux. As a Windows user I
> feel lost, confused and frustrated.
>
> I even went out to my library and rented a copy of their Django
> book... yet that doesn't cover how to get going on XP...
>


What exactly are you having problems with? The tutorial covers the
usage of the development server quite well. Are you having problems
getting the package, unpacking it, what? What step in the tutorial has
you stumped? Really, I don't want to seem patronizing, but the
tutorial does tell you what you need to do.

I am developing on Windows using the development server. I have also
setup Apache and mod_python on Windows with the XAMPP package using
the instructions on the django doc site. And finally I have setup
Apache and mod_python on a linux server using the same instructions.
The docs don't give every last detail for an apache setup, but if you
are familiar with apache it is not hard at all. But, as Karen said,
for learning and development, the development server is the best and
easiest option.

Karen Tracey

unread,
Sep 19, 2008, 12:45:14 PM9/19/08
to django...@googlegroups.com

As Brian says, more details on where you are running into trouble would help people help you.  The tutorial is applicable to Windows, even if it shows paths with forward slashes, etc. The fact is running through the tutorial from a Windows command prompt is not very different from doing it with a Linux bash shell or whatever.  Specifically starting up the development server is first mentioned here:

http://docs.djangoproject.com/en/dev/intro/tutorial01/#the-development-server

If you haven't been able to get that far, what step, specifically is causing trouble, and how, exactly?

Karen

Reply all
Reply to author
Forward
0 new messages