Skip to content

uva-hydroinformatics/uva-hydroinformatics.github.io

Repository files navigation

UVA Hydroinformatics Group Website

This is the website of the hydroinformatics research group at the University of Virginia.

This website is powered by Jekyll and some Bootstrap and Bootwatch. It was forked from the Allen Lab at Leiden University website, which provides a license that allows for modification for your own purposes.

To build this webpage on OSX, follow these steps.

  1. Install Jekyll. https://jekyllrb.com/docs/installation/

  2. Clone repository.

  3. In a terminal, type the following command to update bundler (first time only)

bundle update

  1. Change to the website's root directory

cd {INSERT DIRECTORY}/group_website

  1. In a terminal, type the following command to serve the site

bundle exec jekyll serve

  1. This generates the site folder. Go to http://localhost:4000 to see the site

  2. Edit files in the data, includes, layouts, and pages folders to edit the content and look of the site. Do not directly edit files in the site folder.

  3. After making changes, to files in these folders, simple refresh the website to see the changes.

  4. To deploy the site, first stop serving the website and then build the website using the following commands.

ctrl-c (stops serving)

bundle exec jekyll build

  1. Copy the contents of the site folder to the website hosting the site.

Copyright Jon Goodall 2024. Code released under the MIT License.