This repository contains all the necessary files to build the content for the project website for "Smart Harvesting II". The generated files to to the smart-harvesting.github.io repository.
The site is served by GitHub pages, but it does not rely on the build mechanism of GitHub Pages, since the theme relies on some unsupported plugins. This means, to change something, you need to clone this repository, make your changes, copy the generated files over to the website's repository and push back to master in both repositories.
-
Get current status
a. by cloning
git clone <url>
b. by pulling
git pull origin master
-
Perform your changes
-
Run the site locally (see below) to preview the changes and check that everything works as expected
-
Copy the generated content (files in
_site/
that have been created by jekyll) over to the website's repository:$ cp -r _site/* path/to/smart-harvesting.github.io/
-
In both repos: Add all relevant changes to git
git add <files>
-
In both repos: Push changes to remote
git push origin master
-
Install a full Ruby development environment
-
Install Jekyll and Bundler
gem install jekyll bundler
-
Install dependencies from Gemfile:
bundle install
-
Build the site and make it available on a local server
bundle exec jekyll serve
-
Browse to http://localhost:4000
New blog posts go into the _posts/
directory. The naming scheme is: yyyy-mm-dd-title.md
.
You can write a draft post in the _drafts/
folder. To view the site locally with the drafts, run jekyll with the drafts switch:
bundle exec jekyll serve --drafts
Publications are collected from the irgroup_thkoeln page of bibsonomy. The script getpubs.py
is responsible for querying the group's publications on bibsonomy tagged with 'sh2'. The resulting html file sh2.html
is included in publications.md
.
In case you need to add project-related publications that are not listed in the irgroup_thkoeln group, you will have to add them manually to publications.md
. Try to use the same layout as in sh2.html
.
The theme is based on the Stackbit Fresh Theme.
Stackbit Fresh Theme original README is located here.