Karen, restarting apache worked instantly.  I'm not used to having to
do that.  Normally it's the browser caching the old page that drives
you crazy.  Fortunately I have some aliases for starting, stopping,
restarting etc that make this really painless.

The idea of using the dev server has a lot of appeal, and I was upset
when I thought it wouldn't work remotely.  I can't have it "listen" to
all ip's cause the regular everyday apache server has some of these
it's working in the form of production websites.  But your syntax for
doing runserver with an ip might work for me to just listen for the
experimental site.

Thanks for your time.  I really appreciate it.

On Nov 29, 7:40 pm, Karen Tracey <kmtra...@gmail.com> wrote:
> On Sun, Nov 29, 2009 at 8:06 PM, Guze <guze...@mindpik.com> wrote:
> >  I have spent time
> > looking at the django project tutorials, but they are pretty tied into
> > the development webserver which I cannot run since I have to browser
> > (or monitor or keyboard) connected to that hardware server.
>
> You do not need a monitor or keyboard attached to the machine to use the
> development server.  If you can ssh to the machine, you can run the
> development server.  You'll need to tell it to listen on all addresses
> instead of just loopback:
>
> python manage.py runserver 0.0.0.0:8000
>
> 0.0.0.0 is all, you could substitute a specific interface IP address if you
> prefer, but that is all you need to do to be able to reach the development
> server from a different client machine.
>
> When using Apache (unless you have set it up to use mod_wsgi and set things
> up to do  code monitoring to trigger a reload on source code changes) you
> will need to restart Apache each time you make a code change.  Otherwise the
> existing Apache processes will just keep using the code they've already
> loaded into memory.  My guess is that is what is blocking progress past the
> congratulations page.
>
> Karen

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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