- A live demo is available at locus-classicus.org.
- API Documentation using swagger.io UI (RESTXQ XML database)
- TODO: github repo/license
- http
- check
- reactive-var
- iron:router
- aldeed:collection2
- dburles:collection-helpers
- simple:reactive-method
- twbs:bootstrap
- Module/library requirements
- JSON Parser and Serializer for XQuery
- User configuration
- Administrator user can setup additional users if required
- Deploy REST service app (RESTXQ) as packaged eXist-db app
- An eXist-db app package can be deployed via the eXist-db Package Manager
- App package is a ZIP format, containing the collection structure/data (directories), XQuery modules and other asset files (images, CSS).
- Upload TEI XML data
- Optionally TEI data can be packaged within the eXist-db app or
- Uploaded to the deployed app (collection folder) via the eXist-db Collection Browser.
- Browsing Collection and Re-indexing
- The apps collection is typically deployed under the path: /db/apps/{app_name}
- The toolbar in the Collection Browser contains functions for re-indexing, uploading and deleting resources (Note: authorisation is required to perform these actions).
Note: In the current app structure and configuration, there is typically a single collection folder that is used, over which the data is indexed and queried. app_name is configured in the build.xml file (eXist-db app package). It is recommended to deploy/test an app package using the Package Manager for successful operation of the REST service (RESTXQ).
- The Meteor app can be deployed externally using the meteor cmd meteor deploy app_hostname.meteor.com for development/testing or using Meteor Up to your own hosted server. Hosted deployment options with are also available via Meteor Galaxy.
ROOT_URL="http://{myDomain}/" meteor --port 80
If running the Meteor app over another HTTP port other than 80, configure a web server (Apache, nginx) with port forwarding.
server {
listen 80;
server_name www.locus-classicus.org locus-classicus.org;
access_log /var/log/nginx/latinreaddemo.access.log;
error_log /var/log/nginx/latinreaddemo.error.log;
location / {
proxy_pass http://127.0.0.1:8000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header X-Forwarded-For $remote_addr;
}
}
Tue Emil Lembcke Søvsø - Project Lead
The Saxo Institute
University of Copenhagen
email: [email protected]
Mitchell Seaton - Developer
Center for Language Technology
Department of Nordic Research
University of Copenhagen
email: [email protected]
Locus Classicus is sponsored by CLARIN-DK