User Tools

Site Tools


docs:installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
docs:installation [2022/03/23 16:59]
127.0.0.1 external edit
docs:installation [2023/03/15 19:35] (current)
kkutt lokiontology setup
Line 28: Line 28:
   * You will probably also want to protect the wiki against unauthorized use by uncommenting ''Options -Indexes -MultiViews +FollowSymLinks'' line in ''.htaccess'' (DokuWiki) file.   * You will probably also want to protect the wiki against unauthorized use by uncommenting ''Options -Indexes -MultiViews +FollowSymLinks'' line in ''.htaccess'' (DokuWiki) file.
  
-===== Lokiontology =====+===== lokiontology =====
  
-__Lokiontology requirements:__+__lokiontology requirements:__
  
   * [[https://www.dokuwiki.org/|DokuWiki]] in Unix environment\\ (//tested on 2017-02-19e "Frusterick Manners", but should also work on the latest releases//)   * [[https://www.dokuwiki.org/|DokuWiki]] in Unix environment\\ (//tested on 2017-02-19e "Frusterick Manners", but should also work on the latest releases//)
 +  * Requires Loki plugin (described above)
   * Requires [[https://www.dokuwiki.org/plugin:xslt|xslt]] plugin for XSLT stylesheets display (for edition and visualisation of ontology)   * Requires [[https://www.dokuwiki.org/plugin:xslt|xslt]] plugin for XSLT stylesheets display (for edition and visualisation of ontology)
      
-__Lokiontology setup:__+__lokiontology setup:__
  
   - Download the latest version of the plugin from the [[downloads:|Downloads page]]   - Download the latest version of the plugin from the [[downloads:|Downloads page]]
-  - Install Lokiontology:+  - Install lokiontology:
     * using the [[https://www.dokuwiki.org/plugin:plugin|Plugin Manager]] of your Dokuwiki installation.     * using the [[https://www.dokuwiki.org/plugin:plugin|Plugin Manager]] of your Dokuwiki installation.
     * or manually place the ''lokiontology'' directory in ''$DOKUWIKI_HOME$/lib/plugins''     * or manually place the ''lokiontology'' directory in ''$DOKUWIKI_HOME$/lib/plugins''
 +  - We use [[http://browserify.org/|Browserify]] along with [[https://github.com/babel/babelify|Babelify]] transform to manage modularity and guarantee compability with older browsers. Here are the steps you should follow if you want to reproduce our build:
 +    - To begin with, you require [[https://www.npmjs.com/|npm]] to be installed.
 +    - Navigate to ''lokiontology/autocomplete'' and execute ''npm install''.
 +    - Currently we use modified version of [[https://github.com/lonekorean/highlight-within-textarea|highlight-within-textarea]] plugin to suit our needs. After pulling dependencies with ''npm'', you should pull [[https://github.com/kkutt/highlight-within-textarea|our fork]] into ''node_modules/higlight-within-textarea''.
 +    - Execute ''browserify autocomplete.js class/* -t babelify -o dist/bundle.js'' to bundle code.
  
 ===== PROV ===== ===== PROV =====
docs/installation.txt ยท Last modified: 2023/03/15 19:35 by kkutt