-
Notifications
You must be signed in to change notification settings - Fork 2
The Digital Syriac Corpus web application
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.
- eXist-db 4.1 + http://exist-db.org/exist/apps/homepage/index.html
- Java 7 or 8 (eXist-db requires: Java 7 or 8)
- In the Terminal, type “brew cask install exist-db”
- Go to http://exist-db.org/exist/apps/homepage/index.html
- Click on “Stable Release”
- Download the .jar file under “Downloads”
- Click “next” on everything
- See eXist-db Quick start instructions: http://www.exist-db.org/exist/apps/doc/quickstart.xml
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.
- 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.