## AQL - MovieDB setup

Some basic experience with Ace-databases and some knoweldge of UNIX will be useful to follow these instructions.

1. download the latest version of acedb.
2. install only the executable programs. You'll only need the programs `xace`, `tace` and `taql` for this execise. Copy those programs into a "bin" directory of your choice. This may be /usr/local/bin/, /usr/local/acedb/bin, $HOME/bin or simply the current directory.
3. Create a new directory "MovieDB".
4. In the directory MovieDB/ create two subdirectories "database" and "wspec".
5. Download all wspec-files and copy them into your local "wspec"-subdirectory.
6. Download the MovieDB datafile and copy it into your local "MovieDB"-directory.
7. Open up the file "passwd.wrm" from your local "wspec"-directory in a text-editor and add a line containing your username.
8. Initialise the database by running

       % xace MovieDB

   Click "Yes" when you're asked whether it's OK to initialise the database.
9. When the main-window pops up, select "read .ace file" form the Edit-menu. Click "Open ace file" and select "MovieDB.ace" the filechooser. Then click on "Read all" to parse all the data.
10. Select "Save (drop write access)" from the Save-menu in the main-window.
11. Database setup complete!