For Linux users, I realized a little later that using gem install –user-install allows you to install gems without root privileges, avoiding unnecessary complications.
Install minimal mistakes theme and customize
When it comes to adding plugins or themes, there are two key files to focus on: Gemfile and _config.yml. The Gemfile is where you add plugins, and _config.yml is where you configure them. Here’s how I set up the Minimal Mistakes theme:
Adding to the Gemfile
~$ bundle install
Setting Up Index, About, Blog, and Resume Pages
How to Add a Blog Post Quickly
As a Linux user, I’ve created a bash script to streamline the process of adding new posts:
This script generates a markdown file for you to edit and add your content to. While there are plugins like compose with more features, I learned that after having ChatGPT create this script for me so whatever.
Deploying to a Virtual Machine
To deploy your Jekyll site, run the following command:
~$ bundle exec jekyll build
This command creates a _site directory containing plain HTML files, ready to be uploaded to any web server.
For my setup, I use nginx within a VM on Proxmox and version control the Jekyll project using GitHub. To facilitate quick updates to the site, I created a build script on my web VM:
Now, anytime you push updates to your GitHub repository, you can quickly deploy the changes to your web server using this script.
I hope this guide helps you set up your Jekyll site swiftly and without hassle. If you have any questions or suggestions, please don’t hesitate to reach out through the contacts provided on the site.