Skip to content

kbss-cvut/kbss-website

 
 

Repository files navigation

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/.

Deploy

There are two ways of deploying the website.

Docker

There is a Dockerfile to simplify deployment. So the steps to get the website working are:

  1. Build the Docker image (using the name kbss-website)

docker build -t kbss-website .

  1. 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

  1. The website is now available at http://0.0.0.0:4000/kbss-website/

Docker compose

  1. Build the Docker image

docker-compose build

  1. [Optional] Configure environment variables for docker-compose file, e.g.: echo BASENAME=/kbss-website > .env

  2. Run the container.

docker-compose up -d

  1. The website is now available at http://0.0.0.0:4000/kbss-website

Without Docker

Assuming Jekyll is installed on the system, the following commands can be used to run the site.

  1. Install the dependencies

bundle install

  1. Run Jekyll with the website

jekyll serve

  1. The website is now available at http://localhost:4000/kbss-website

About

KBSS website using the Minimal Mistakes Jekyll theme.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • JavaScript 52.9%
  • SCSS 23.4%
  • HTML 22.7%
  • Other 1.0%