Feb. 7 1996

These notes are meant to document some of the problems I've 
encountered with ACECB, and how to fix them.

CREATING CUSTOM DATABASES

1. Create a directory to hold your database eg. lab..
   This direcrory should have two subdirectories, 'database' and 'wspec'. 
   Database can start out empty. To creat wspec, copy acedb/wspec 
   directly to lab/wspec. wspec contains configuration files for the 
   database that must be tailored for your specific needs. 
 
2. By default, ACEDB initializes a new database to take up ~10Mb.
If you don't need one that big, edit parameter 'DISK' in wspec/cachesize.wrm.

3. Copy the script acedb/acedb to your bin directory, and call it something
specific for your database eg. labdb. Change the environment variables
ACEDB and DBDIR to fit your directories eg.  

setenv ACEDB /home/u12/frist/drr/lab
setenv DBDIR $ACEDB/database

I have found that these paths must be fully qualified eg. drr/lab
wasn't accepted by the program.
 
4. To be database administrator, you need to put your userid into
wspec/passwd.wrm. Anyone who is supposed to have write permissions
must have their userid in this file.

5. Put in the name you wish displayed in the header bar of the 
ACEDB main window (eg. Smith Lab) on the line that looks like

_DDtMain -g TEXT_FIT -t "xxxxx Lab"  -w .43 -height .26 -help acedb

in wspec/displays.wrm.

ADDING A CLASS

To add a class, you must add information on that class to two
files in the wspec directory: models.wrm and options.wrm 

When typing in tags in a class, use spaces for indentation. Tabs will
usually cause a 'tree screwup' message.

To add a class, you must reinitialize the database, which really means
dumping everything into .ace files, adding the entries to models.wrm etc.
as described above, deleting ACEDB.wrm, and starting up the program.
Then- you have to read re-construct the database by reading in .ace files.


MODIFYING A CLASS
All you need to do is modify models.wrm
and then choose 'Read models' from the main menu. Now save the file,
and the model will be updated.
  

