In order to manually install the LD-R platform:
node --version
to make sure that you have the right version of Node.
npm --version
npm install -g n
and then simply type n
to see all the versions of NodeJS installed on your machine. By running n latest
you can always get the latest version of Node! Isn't that cool?!
npm install webpack -g
.
git clone https://github.com/ali1k/ld-r.git
cd ld-r
./install
and wait for everything to be settled.
If you are a lucky windows user, just double click on the install.bat
file and wait for installation. If not, you have to do the following steps manually:
npm install
and wait for all the magic of Node to install the required dependencies!
configs/general.sample.js
and rename it to configs/general.js
configs/server.sample.js
and rename it to configs/server.js
configs/reactor.sample.js
and rename it to configs/reactor.js
configs/facets.sample.js
and rename it to configs/facets.js
plugins/email/config.sample.js
and rename it to plugins/email/config.js
npm run build
(* windows users: only if the above command did not work!) npm run build:windows
check server at localhost:4000
npm run dev
(* windows users: only if the above command did not work!) npm run dev:windows
check server at localhost:3000
The power of LD-R is revealed when you configure/customize the platform. Check the available configs for each component on the LD-R documentation page. You can follow our basic tutorial to get a feeling how these configurations work.
Fill in general settings for your application at configs/general.js
.
Fill in appropriate values for server port, URLs of your SPARQL endpoint and DBpedia lookup service at configs/server.js
.
Fill in appropriate settings for your UI reactors at configs/reactor.js
.
Fill in appropriate settings for the faceted browser at configs/facets.js
.