TREEcg / site

Website for TREE
https://tree.linkeddatafragments.org
0 stars 2 forks source link
linked-data

The TREE website

Purpose:

Future:

Building the website

We first prefetch data using the bin/fetchData.js script, we then build the page using Jekyll.

Installation

This setup requires the installation of:

To compile and watch the website:

(note that this does not watch changes in the config file or any of the rdf sources)

# Start the website in watch mode
npm run watch

# This installs the dependencies, 
# retrieves the RDF data
# and starts the site on localhost:4000.

To build the website:

# Build the website
npm run build

# This installs the dependencies, 
# retrieves the RDF data
# and generates the site in the _site folder.

On new data being added, run the respective command again.