Developer guide - OpenKnowledgeSpace/KnowledgeSpace GitHub Wiki

Get the code

  1. git clone https://github.com/OpenKnowledgeSpace/KnowledgeSpace.git (or clone from your fork)
  2. Symlink the cloned folder into /var/www/ (or somewhere apache can find it) cd /var/www && ln -s ~/git/KnowledgeSpace

Set up apache

  1. Install apache for your system.
  2. Configure apache to use php (see part 3 below).
  3. Add a virtual host for ks in the apache config (eg /etc/apache2/httpd.conf or included files) that points at "/var/www/KnowledgeSpace".
  4. On some systems you may also need to the following (adjusted for your install locations) to allow the js files to run:
<Directory "/var/www/KnowledgeSpace/NeuroKS/application/views/js/">
	Require all granted
</Directory>

Set up php

  1. Install php (>5.4) as well as php-curl and php-apache2
  2. In /etc/php/*/php.ini set memory_limit = 1024GB and extension=php_curl.so

Configure KS for development

  1. In NeuroKS/application/config/config.json set "literature_host":"vivaldi.crbs.ucsd.edu" since the default of starburst is not publicly accessible.
  2. In NeuroKS/application/config/config.json set "cache_folder":"/tmp/my-favorite-cache-folder-name/".
⚠️ **GitHub.com Fallback** ⚠️