Developer guide - OpenKnowledgeSpace/KnowledgeSpace GitHub Wiki
-
git clone https://github.com/OpenKnowledgeSpace/KnowledgeSpace.git
(or clone from your fork) - Symlink the cloned folder into
/var/www/
(or somewhere apache can find it)cd /var/www && ln -s ~/git/KnowledgeSpace
- Install
apache
for your system. - Configure apache to use php (see part 3 below).
- Add a virtual host for ks in the apache config (eg
/etc/apache2/httpd.conf
or included files) that points at"/var/www/KnowledgeSpace"
. - 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>
- Install
php
(>5.4) as well asphp-curl
andphp-apache2
- In
/etc/php/*/php.ini
setmemory_limit = 1024GB
andextension=php_curl.so
- In
NeuroKS/application/config/config.json
set"literature_host":"vivaldi.crbs.ucsd.edu"
since the default of starburst is not publicly accessible. - In
NeuroKS/application/config/config.json
set"cache_folder":"/tmp/my-favorite-cache-folder-name/"
.