Instructions to setup and run Pytecache

Requirements:
-------------

A Unix-Alike Operating System:

All the BSDs and GNU/Linux distributions should run Pytecache fine.
Pytecache does not run on Windows. 

Python:

It's installed by default by most setups.  If not, there should be a
package for it.

Gnut:

Pytecache uses gnut's host file, and gnut does the job of keeping the
hosts file large and updated.  Gnut's page is http://www.mrob.com/gnut/
Consult gnut's documentation for how to install it.

Note:

Pytecache does not require the Pytella library like it used to.


Configuration:
--------------

Setting Executable:

You'll need to tell your OS that this thing is a script.
chmod 755 ./pytecache.py

Location to Python:

The first line of pytecache.py is: #!/usr/bin/env python
If env doesn't exist, or it can't find python, try replacing it with the
location to python.  Example:  #!/usr/bin/python

Port:

Look on line 23 of pytecache.py, if you want to use a different port,
change the number.

Maximum Connections:

Look on line 24 of pytecache.py, if you want to a different maximum
number of connections, change the number.

Maximum Pongs:

Look on line 25 of pytecache.py, if you want a different maximum number
of pongs, change the number.


Running:
--------

Gnut:

Start up gnut.  Connect gnut to the Gnutella net, and send out a ping.  
Get a hosts cachter of a few thousand going.

Pytecache:

Run pytecache like this:  ./pytecache.py
Pytecache will read hosts from $HOME/.gnut_hosts, and feed them out to
incoming connections.


Stopping:
---------

Pytecache will close on a SIGTERM, or simply hit ctrl+c a few times.
