This repository contains the website of the Knowledge-based and Software Systems group of the Faculty of Electrical Engineering, Czech Technical University in Prague.
It is based on the Minimal Mistakes Jekyll theme.
GitHub Pages deployment of the website is available at https://kbss-cvut.github.io/kbss-website/.
There are two ways of deploying the website.
There is a Dockerfile to simplify deployment. So the steps to get the website working are:
- Build the Docker image (using the name
kbss-website
)
docker build -t kbss-website .
- Run the container. The following command also allows dynamic reloading of the website when the content is changed.
docker run --volume="$PWD:/srv/jekyll" -p 4000:4000 -t kbss-website
- The website is now available at
http://0.0.0.0:4000/kbss-website/
- Build the Docker image
docker-compose build
-
[Optional] Configure environment variables for docker-compose file, e.g.:
echo BASENAME=/kbss-website > .env
-
Run the container.
docker-compose up -d
- The website is now available at
http://0.0.0.0:4000/kbss-website
Assuming Jekyll is installed on the system, the following commands can be used to run the site.
- Install the dependencies
bundle install
- Run Jekyll with the website
jekyll serve
- The website is now available at
http://localhost:4000/kbss-website