This is the eXist-db application for presenting the Thesaurus Linguae Sinicae (TLS) -an Historical and Comparative Encyclopaedia of Chinese Conceptual Schemes on the Web.
Editors:
3.6.1
or greater0.8.0
0.7.0
1.10.5
(for building from source)Note: The data repositories are currently private. We plan to make them public in due time.
git clone https://github.com/tls-kr/tls-data.git
Navigate to the repository you just cloned, and call ant
:
cd tls-app
ant
You should see BUILD SUCCESSFUL
, and two .xar
files inside the build/
folder.
build.xml
:
dev
includes all files, and unoptmized frontend dependencies. For development work.prod
is the official release. It only contains optimized files for the production server.package manager
.
add package
symbol in the upper left corner and select one of the two .xar
files you just created. As noted under requirements above. The full TLS app depends on two further data packages:
The app in in this repository will attempt to download and install these apps when following the installation procedure. If for any reasons the data-apps are unavailable, the installation process will be aborted. You can find out more about the contents of the data packages by following the links above.
A xquery script 'stat.xql' in modules can be used to create a report of the content of the database. It can be executed with a cron job, to automate this action. For this to work, the following has to be added to the exist conf.xml file:
xquery="/db/apps/tls-app/modules/stat.xql"
cron-trigger="0 5 0/12 * * ?">
</job>```
This will execute the module five minutes past noon and midnight. It will be
executed with the "guest" user identity, so the permission bits here have to be
set to "setuid" and "execute".