[Zope] Running Zope Under Win95

Jason Cunliffe jasonic@nomadicsltd.com
Mon, 2 Apr 2001 20:03:12 -0400


----- Original Message -----
From: Thomas B. Passin <tpassin@mitretek.org>
To: <zope@zope.org>
Sent: Monday, April 02, 2001 4:20 PM
Subject: Re: [Zope] Running Zope Under Win95


> John Gregory asked -
> >
> > I've downloaded the latest stable release of Zope to use under Win95
> > as a personal server for web site development testing.
> >
> > Trouble is when I run start.bat I get 2 separate bursts of HD
> > activity then the program just sits there.
> >
> I ran with no trouble under Win95.  But there is always a long delay at
> startup.  I ***think*** it's trying to do a reverse DNS lookup on its own
IP
> address.  If you're not on a network it would be waiting for that attempt
to
> time out.  At any rate, a ridiculous delay at startup is what I always
got.
> Not like 5 minutes, though, maybe 1 minute.
>
> It should print out information like the ports it's using in the console
> window once it's ready for use.  That's how you can tell.

I regularly run Zope happily on Win95 and Win98Se. On occasion, I have also
noticed some massive delays including during even simple edits or requests.
In my experience these have been easily fixed by making sure you edit your
'hosts' file.

Open the text file C:/Windows/hosts in any ASCII editor and include a line
such as:

64.7.9.195      jasonic  #Sony Vaio Laptop

where the first number is the IP number set for your machine, the name
'jasonic' is whatever name you want to use for your machine, and the last is
a comment if you wish.
BTW 'hosts' is named just that .. not 'hosts.txt' or 'hosts.doc' ... be sure
of no DOS-like suffix.

An obvious advantage if this is that you can open a browser and enter
http://jasonic instead of http://64.7.9.195. Or even just 'jasonic', and if
Zope is running, it will open fine. If you have other machines on a LAN as I
do, simply add those also to the hosts file and likewise edit their hosts
files. This makes it useful to demo and work more productively. Other tips
include adding a link to IE's toolbar for /manage and save your password
when requested. That way it comes up much faster for frequent edits.

I run Zope in the background almost all the time, by dropping an alias of my
Zope start.bat into Windows 'StartUp' fodler. I do this becuase I want to
know that I can do so and for travelling+demos - part of a long term
strategy I am working on for peer-peer using Zope and Flash. Win95 and
Win98Se have been fine for this. I have not tested 2.3.1 on Win95 yet. Msot
problems I have are the typical ones of not enough HD space {liek when it
gets cluttered with DV captures} or empyting browser Cache after massive
online downloads or Flash testing sessions. Check your preferences and
remember $100 Extra RAM does help. It made a 4 year old Win95 AcerTravelmate
266Mhz run twice as well.:-)

hth
- Jason
___________________________________________________________
Jason CUNLIFFE = NOMADICS['Interactive Art and Technology']