101591 Views
79842 Views
45596 Views
44332 Views
40991 Views
33419 Views
Raspberry Pi Time machine
Now Ad-Free
Guiding Light
Sync Files on your Pis, with Syncthing
NextCloud
Buddy Jr.
Introduction to FreeCAD for Beginners
Building a Robot Arm with Raspberry Pi and PCA9685
Building User Authentication for Static Sites with FastAPI
Mastering Pydantic for Robust Data Validation
Mastering Markdown for Documentation with Jekyll
Introduction to Rust
KevsRobots Learning Platform
24% Percent Complete
By Kevin McAleer, 3 Minutes
Welcome to the second lesson in our Jekyll course. In this lesson, we will walk you through the installation process of Jekyll, a popular static site generator. By the end of this lesson, you’ll have Jekyll installed and running on your computer, ready to create your first static website.
Before we begin, make sure you have the following:
Jekyll is built on Ruby, so we need to ensure that your system has Ruby installed along with a few other tools.
ruby -v
brew install ruby
sudo apt-get install ruby-full
With Ruby installed, we can now install Jekyll.
gem install jekyll bundler
jekyll -v
Now, let’s create your first static site with Jekyll.
jekyll new my-awesome-site
my-awesome-site
_posts
_config.yml
index.md
It’s time to see your site in action.
jekyll serve
http://localhost:4000
If you encounter any issues:
Congratulations on setting up Jekyll and creating your first site! Experiment with editing the markdown files and watch how your site updates. In our next lesson, we will dive into customizing your Jekyll site.
Try adding a new post to your site. Create a markdown file in the _posts directory and see how it appears on your local site.
< Previous Next >