A Jekyll-based GitHub Pages site using the Chirpy theme.
Navigate to "data/authors.yml" to add or modify author information for blog posts structured in the following way
github username:
name: full name
email: mail address
url: homepage- Ruby >= 3.1.0 (Ruby 3.2 recommended to match CI/CD)
- Bundler >= 2.0
- Git
# Install rbenv using Homebrew
brew install rbenv ruby-build
# Initialize rbenv
rbenv init
# Add rbenv to your shell profile (for zsh)
echo 'eval "$(rbenv init - zsh)"' >> ~/.zshrc
source ~/.zshrc
# For bash, use this instead:
# echo 'eval "$(rbenv init - bash)"' >> ~/.bash_profile
# source ~/.bash_profile
# Install Ruby 3.2
rbenv install 3.2.0
rbenv local 3.2.0
# Verify installation
ruby -v # Should show ruby 3.2.0# Install RVM
curl -sSL https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
# Install Ruby 3.2
rvm install 3.2.0
rvm use 3.2.0 --default
# Verify installation
ruby -v # Should show ruby 3.2.0# Clone the repository (if not already done)
git clone https://github.com/yourusername/datalabhell.github.io.git
cd datalabhell.github.io
# Install bundler
gem install bundler
# Install project dependencies
bundle install# Install dependencies
sudo apt-get update
sudo apt-get install -y git curl libssl-dev libreadline-dev zlib1g-dev \
autoconf bison build-essential libyaml-dev libreadline-dev \
libncurses5-dev libffi-dev libgdbm-dev
# Install rbenv
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/main/bin/rbenv-installer | bash
# Add rbenv to your shell profile
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
source ~/.bashrc
# For zsh, use this instead:
# echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc
# echo 'eval "$(rbenv init -)"' >> ~/.zshrc
# source ~/.zshrc
# Install Ruby 3.2
rbenv install 3.2.0
rbenv local 3.2.0
# Verify installation
ruby -v # Should show ruby 3.2.0# Install dependencies
sudo apt-get update
sudo apt-get install -y curl gpg
# Add RVM GPG keys
gpg --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
# Install RVM
curl -sSL https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
# Install Ruby 3.2
rvm install 3.2.0
rvm use 3.2.0 --default
# Verify installation
ruby -v # Should show ruby 3.2.0# Clone the repository (if not already done)
git clone https://github.com/yourusername/datalabhell.github.io.git
cd datalabhell.github.io
# Install bundler
gem install bundler
# Install project dependencies
bundle installbundle exec jekyll serveThen open your browser to http://localhost:4000
bundle exec jekyll serve --livereloadThis automatically refreshes your browser when files change.
bundle exec jekyll serve --draftsThis includes posts from the _drafts folder.
bundle exec jekyll serve --futureThis shows posts with future dates.
bundle exec jekyll serve --host 0.0.0.0 --port 4000This allows access from other devices on your network.
To build the site without serving:
bundle exec jekyll buildThe generated site will be in the _site directory.
The site automatically deploys to GitHub Pages when you push to the main branch. The deployment is handled by the GitHub Actions workflow in .github/workflows/pages-deploy.yml.
If you encounter Ruby version errors:
macOS/Linux (rbenv):
# Check current Ruby version
ruby -v
# Install and set Ruby 3.2
rbenv install 3.2.0
rbenv local 3.2.0macOS/Linux (RVM):
# Check current Ruby version
ruby -v
# Install and set Ruby 3.2
rvm install 3.2.0
rvm use 3.2.0# Update bundler
gem install bundler
# Update to match Gemfile.lock
bundle update --bundler# Clean and reinstall
rm -rf vendor/bundle
bundle installIf you encounter permission errors, avoid using sudo with gem commands. Instead, ensure rbenv or RVM is properly configured to install gems in your home directory.
_posts/- Blog posts in Markdown_config.yml- Site configurationassets/- Images, CSS, and JavaScript.github/workflows/- GitHub Actions deployment configuration
- Create a new branch for your changes
- Make your modifications
- Test locally with
bundle exec jekyll serve - Commit and push your changes
- Create a pull request
This work by Data Lab Hell Gmbh is licensed under CC BY 4.0