Digital Syriac Corpus Documentation

Overview

The Digital Syriac Corpus is built on a customization of the Srophe application [https://github.com/srophe/srophe-eXist-app]. All publications and software are made available online in a free and open format using the Creative Commons licenses.


Run a copy of the Syriac Corpus

Technical Requirements

Installing eXist-db

Mac OS

  • In the Terminal, type “brew cask install exist-db”

Windows

Other

Deploy the Digital Syriac Corpus application

Clone or fork the Syriaca.org git repository (https://github.com/srophe/syriac-corpus-app). For more information on forking a repository see: https://help.github.com/articles/fork-a-repo/

To run the application locally make sure nav base is set to <nav-base>/exist/apps/syriac-corpus</nav-base> in the repo-config file. See: https://github.com/srophe/syriac-corpus-app/blob/master/repo-config.xml#L24

Create a .xar file to deploy in eXist-db. In your local version of the Github application cd into the srophe-app folder and type “ant”. The .xar file output by the ant process will be named according to the version number in the expath-pkg.xml file of the folder you’re in.

Build the Digital Syriac Corpus data repository (https://github.com/srophe/syriac-corpus) package the same way.

Install packages in eXist

  • Open eXist.
  • Navigate to the eXist dashboard ex: http://localhost:8080/exist/apps/dashboard/index.html
  • Click on Package Manager.
  • Make sure the following libraries are installed before deploying the the Digital Syriac Corpus web application (If not they can be installed vial the package manger, using the 'available libraries/repositories filter'):
    • eXist-db Shared apps: [http://exist-db.org:8098/exist/apps/public-repo/packages/shared.html]
    • JSON Parser and Serializer for XQuery .1.6 + : [https://github.com/joewiz/xqjson]
    • Functx Library: [http://exist-db.org:8098/exist/apps/public-repo/packages/functx.html]
  • Packages can be deployed via the eXistdb dashboard.
  • Click the blue-gray button in top-left corner to upload your app.
  • Upload the latest .xar package for both the Digital Syriac Corpus web application and the Digital Syriac Corpus data application repositories.
  • Install the Digital Syriac Corpus web application data application
  • Install the Digital Syriac Corpus web application
  • Go to http://localhost:8080/exist/apps/syriac-corpus/index.html in your web browser. This is the homepage for the syriac-corpus application on your local computer.