Skip to content

deegree/deegree.github.io

Repository files navigation

This Website was created for Jekyll using the Feeling Responsive Theme from Phlow.

Local Development

A local development environment can be used by installing Ruby (2.6.x) and running the following in the website directory.

gem install jekyll bundler
# inside directory containing the Gemfile
bundler install

Jekyll can be executed locally with the following command:

bundle exec jekyll serve --incremental --host=0.0.0.0 --config _config.yml,_config_dev.yml

Note: It can be useful to clean the _site directory before running jekyll to force re-creation of all content (styles etc.).

Using docker

You can use a docker container with Ruby (2.6.x) to run the web site locally. First pull the image:

docker pull ruby:3.2.2-bullseye

On Linux run the container with:

    docker run -it --rm --name jekyll -v "$PWD":/usr/src/myapp -w /usr/src/myapp -p 4000:4000 ruby:3.2.2-bullseye /bin/bash

Windows:

    docker run -it --rm --name jekyll -v "%CD%":/usr/src/myapp -w /usr/src/myapp -p 4000:4000 ruby:3.2.2-bullseye /bin/bash

Inside the container run the following commands and then continue as described above:

apt-get update
apt-get install --yes locales
export LC_ALL=C.UTF-8
export LANG=de_DE@UTF-8
gem install jekyll bundler
bundler install
JEKYLL_ENV=docker bundle exec jekyll serve --force-polling --incremental --host=0.0.0.0 --config _config.yml,_config_dev.yml

Releases

No releases published

Packages

No packages published