This folder contains the webpage (i.e. UI) of the WaterBenchmarkHub.
The webpage is realized using the Vue.js and bootstrap frameworks, and is deployed using GitHub pages -- available at https://waterfutures.github.io/WaterBenchmarkHub.
In order to publish the webpage, this fodler (i.e. webpage/
) must be pushed to the gh-pages
branch.
The following steps describe how to build and test the webpage locally:
- Make sure you have ruby-dev, bundler, and nodejs installed -- i.e. on Ubuntu you run:
sudo apt install ruby-dev ruby-bundler nodejs
- Install ruby dependencies:
bundle install --path .vendor/bundle
- Build the website -- this creates a folder
_site
contanining everything:
bundle exec jekyll build
- Build & Run website:
bundle exec jekyll serve