MOOP Installation
-----------------
([c] 1999 - AccesSoft - See license.txt for details)
($Id: INSTALL,v 1.4 2003/11/10 05:33:37 daveron Exp $)

MOOP requires Python 1.4 or greater (although it's being developed against
2.3.2 so you may be out of luck with an earlier version of Python!)

The MOOP Database
-----------------

You have two choices if you don't already have an existing MOOP database
(moop.dat):

* copy the moop.dat.dist file to moop.dat
* follow all of these steps:
  - start moopdirect.py ('python moopdirect.py').
  - answer 'Y' to the first question (whether you'd like to create a database
    from scratch.)
  - select item 3 from the menu
  - provide the user name 'Implementor'
  - provide the file name 'bootstrap.txt' to load the base data
  - say 'Y' to save the database
  - select item 1 to enter MOOP, giving the username 'Implementor'
  - use '@password <pass>' to set Implementor's password to what you'd like
  - type '@quit'
  - answer 'Y' to save the database
  - set the treasury amount if you like (menu item 4)
  - select item 0 to quit moopdirect.py

Testing
-------

Try connecting to the database via moopdirect.py and issuing the following
commands:

moop> %print "spam"
spam
moop> %print me.location
#3
moop> %print me.location.contents()
[User instance at 1738bcc]

If you see different results (and you're using a new database) you are in
trouble and may want to test your installation of Python.


The Server
----------

Choose a TCP port that your MOOP server will be listening on.  Edit
moopsock.cfg and change the PORT definition (you may want to change other
parameters, although they're not as necessary.)

Edit the two files in the text directory, connect.txt and motd.txt, to contain
the message given when a user connects and logs in, respectively.

Start up moopd.py or moopsock.py('python moopd.py' works fine.)  Try connecting via telnet or a
custom client (connecting to your server with the appropriate port defined in
moopsock.cfg)

It might be a good idea to copy moop.dat.bak to an archive directory
periodically, as needed.
