JayGhb / ProgrammingWithWolfgangWebsite

A minimal, sidebar, responsive web design Jekyll theme, focusing on text presentation.

Home Page:https://chirpy.cotes.info

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Programming With Wolfgang

A tech blog focusing on DevOps, Cloud, Azure, Kubernetes and Software Architecture.

Checkout

Checkout the repository on Linux or WSL2 if you are on Windows.

Setting up the local envrionment

The whole environment is built and run inside a Docker container. Make sure to install Ruby and RubyGems on your Ubuntu (or WSL) machine that is used to build the docker container.

To run the solution, execute the following command:

sudo apt-get install ruby-full build-essential zlib1g-dev

echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc
echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

# optionally or if the command above fails: apt install ruby

gem install jekyll bundler
docker run -it --rm --volume="$($PWD):/srv/jekyll" -p 4000:4000 jekyll/jekyll jekyll serve

If you only want to run the website, you can use the following code, which should start faster than the above one:

Optionally use the --force_polling flag which enables a watcher that re-creates the files every time something changes.

Setting up the live environment

Currently, the website needs to be built and the _site folder needs to be checked in. Build the site with the following command:

docker run -it --rm --env JEKYLL_ENV=production --volume="$($PWD):/srv/jekyll" jekyll/jekyll jekyll build

It is planned to move this task to the GitHub action in the future.

About

A minimal, sidebar, responsive web design Jekyll theme, focusing on text presentation.

https://chirpy.cotes.info


Languages

Language:HTML 98.9%Language:SCSS 0.7%Language:JavaScript 0.3%Language:Shell 0.1%Language:Ruby 0.0%Language:PowerShell 0.0%