Installation of the Alpheios Treebank Editor

Prerequisites:



Patches



Installation from Zip

  • Download and install eXist
  • After installation, start the eXist database. Confirm that it is running by logging in via the eXist client application, or going to http://localhost:8080/exist in your browser (assuming that you followed the installation defaults when installing eXist).
  • Download the eXist-alpheios-install.zip
  • Launch the eXist client
  • In the eXist client interface, select Tools, Restore
  • restore the eXist-alpheios-install.zip file
  • change the resource properties of the treebank.edit collection to rwurwurwu
    • to do this, double-click on the repository collection, and highlight the treebank.edit child collection. Click File, Resource Properties and check all boxes under Permissions.
  • Test the installation
  • Install your own treebank files
    • the treebank files go in the /db/repository/treebank.edit directory of the eXist database. They must be named with the .tb.xml file extension. See the test.db.xml for an example.

Alternative - Manual Installation



Steps


1. Download and install eXist

2. Start the eXist database. Confirm that it is running by logging in via the eXist client application, or going to http://localhost:8080/exist in your browser (assuming that you followed the installation defaults when installing eXist).

3. Download tarballs of files from the sourceforge repository via the following links:

4. Unzip the tar files. It's probably simplest if you DON'T preserve the directories in the tar files and just extract all the contents to a single directory on your local drive.

5. Login to eXist via the eXist client, and create the following new collections at the root of your database by clicking on File, Create Collection.

  • xq
  • xq/config
  • xslt
  • script
  • app
  • image
  • css
  • repository
  • repository/treebank
  • repository/treebank.edit
    • change the resource properties of the treebank.edit collection to rwurwurwu
      • do do this, double-click on the repository collection, and highlight the treebank.edit child collection. Click File, Resource Properties and check all boxes under Permissions.

6. Using the eXist client, upload the unzipped files from the source tar balls to the following directories, according to file type. To upload files, double click on the collection folder in the eXist client, and then click File, Store Files, and select the files from your local file system.

  • *.xq and *.xquery files go in the xq collection
  • *.xsl and *.xslt files go in the xslt collection
  • *.css files go in the css collection
  • *.png, *.gif, *.jpg files go in the image collection
  • *.html and *.xhtml files go in the app collection
  • *.js files go in the script collection
  • the testtb.xml files goes in both the repository/treebank and the repository/treebank.edit collection
  • the treebank-desc-aldt.xml, treebank-desc-catib.xml and treebank-desc-proiel.xml files which come from the config directory in the treebank-editor tarball go in the xq/config collection
7. Verify that it is working by loading the following url: http://localhost:8080/exist/rest/db/xq/treebank-getlist.xq?doc=test .
You should see a list with a single sentence. Click on the sentence and you should be brought to the treebank editor display.