tls-app

Web Application for TLS

https://github.com/tls-kr/tls-app

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.5%) to scientific vocabulary
Last synced: 7 months ago · JSON representation ·

Repository

Web Application for TLS

Basic Info
  • Host: GitHub
  • Owner: tls-kr
  • Language: JavaScript
  • Default Branch: master
  • Size: 34.8 MB
Statistics
  • Stars: 9
  • Watchers: 1
  • Forks: 3
  • Open Issues: 36
  • Releases: 0
Created about 7 years ago · Last pushed 10 months ago
Metadata Files
Readme Changelog Citation

README.md

TLS - 漢學文典

Build Status

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: - General: Christoph Harbsmeier 何莫邪 - Associate: Jiang Shaoyu 蔣紹愚

Requirements

  • exist-db version: 3.6.1 or greater
  • [tls-data] version: 0.8.0
  • [tls-texts] version: 0.7.0
  • ant version: 1.10.5 (for building from source)

Note: The data repositories are currently private. We plan to make them public in due time.

Building and Installation

  1. Download, fork or clone this GitHub repository, e.g: bash git clone https://github.com/tls-kr/tls-data.git
  2. Navigate to the repository you just cloned, and call ant:
    bash cd tls-app ant

    You should see BUILD SUCCESSFUL, and two .xar files inside the build/ folder.

    1. There are two default build targets in 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.
  3. Open the dashboard of your exist-db instance and click on package manager.

    1. Click on the add package symbol in the upper left corner and select one of the two .xar files you just created.

Data Packages

As noted under requirements above. The full TLS app depends on two further data packages: - tls-data: The lexical part of the database, including attributions and translations, - tls-texts: The source texts.

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.

Memo

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: <job type="user" 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".

Owner

  • Name: Thesaurus Linguae Sericae (TLS) web application
  • Login: tls-kr
  • Kind: organization
  • Location: Kyoto, Japan

Citation (citations.html)

<?xml version="1.0" encoding="UTF-8"?>
<div xmlns="http://www.w3.org/1999/xhtml" data-template="templates:surround" data-template-with="templates/page.html" data-template-at="content">
  <div class="row">
     <div class="col-md-2"/> 
     <div class="col-md-6">
      <h1>Citations</h1>
      <p>Analyze the <span data-template="lct:cit-count"/> citations currently defined in the system.</p>   
      <p> 
         <span class="text-danger">
                    <b>Warning:</b> The options ending in '(tree)' are still a mockup and do <b>not yet have the correct data</b>.</span> </p>  
     </div>    
  </div>
     <div id="results" data-template="lct:citations-form"/> 
      
</div>

GitHub Events

Total
  • Issues event: 22
  • Watch event: 1
  • Issue comment event: 26
  • Push event: 45
  • Pull request event: 88
  • Fork event: 1
Last Year
  • Issues event: 22
  • Watch event: 1
  • Issue comment event: 26
  • Push event: 45
  • Pull request event: 88
  • Fork event: 1

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 7
  • Total pull requests: 23
  • Average time to close issues: about 1 month
  • Average time to close pull requests: about 2 hours
  • Total issue authors: 3
  • Total pull request authors: 1
  • Average comments per issue: 1.14
  • Average comments per pull request: 0.0
  • Merged pull requests: 20
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 7
  • Pull requests: 23
  • Average time to close issues: about 1 month
  • Average time to close pull requests: about 2 hours
  • Issue authors: 3
  • Pull request authors: 1
  • Average comments per issue: 1.14
  • Average comments per pull request: 0.0
  • Merged pull requests: 20
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • matchachoco95 (9)
  • cwittern (6)
  • schmidt-anja (1)
  • maoyuanding (1)
  • justinsilvestre (1)
  • jseligma (1)
Pull Request Authors
  • cwittern (56)
  • Minzhixxx (1)
  • DarioZ226 (1)
Top Labels
Issue Labels
enhancement (3)
Pull Request Labels

Dependencies

package-lock.json npm
  • 926 dependencies
package.json npm
  • browser-sync ^2.27.10 development
  • chai ^4.2.0 development
  • chai-xml ^0.3.2 development
  • cypress ^3.1.5 development
  • del ^4.0.0 development
  • fs-extra ^7.0.1 development
  • gulp ^4.0.0 development
  • gulp-autoprefixer ^6.0.0 development
  • gulp-concat ^2.6.1 development
  • gulp-cssnano ^2.1.3 development
  • gulp-flatmap ^1.0.2 development
  • gulp-header ^2.0.7 development
  • gulp-jshint ^2.1.0 development
  • gulp-optimize-js ^1.1.0 development
  • gulp-rename ^1.4.0 development
  • gulp-sass ^4.0.2 development
  • gulp-svgmin ^2.1.0 development
  • gulp-uglify ^3.0.2 development
  • jshint ^2.10.1 development
  • jshint-stylish ^2.2.1 development
  • lazypipe ^1.0.2 development
  • mocha ^6.0.2 development
  • supertest ^3.4.2 development
  • xmldoc ^1.1.2 development
  • bootstrap ^4.3.1
  • bootstrap-grid ^3.0.1
  • jquery ^3.3.1
  • popper.js ^1.14.7
  • toastr ^2.1.4
resources/icons/open-iconic-master/bower.json bower
resources/icons/open-iconic-master/package.json npm