-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -169,3 +169,6 @@ cython_debug/ | |
|
||
# PyPI configuration file | ||
.pypirc | ||
|
||
# emacs backup files | ||
*~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
--- | ||
title: "setting up static github pages site with jekyll" | ||
date: 2024-01-04 | ||
--- | ||
|
||
The basics of setting up a Jekyll site on Ubuntu. | ||
|
||
Install a Ruby version manager. | ||
We will use [rbenv](https://github.com/rbenv/rbenv){:target="_blank"}. | ||
|
||
```bash | ||
sudo apt install rbenv | ||
``` | ||
|
||
Add the following init command to `~/.zshrc` and source it. | ||
|
||
``` bash | ||
eval "$(rbenv init -)" | ||
``` | ||
|
||
|
||
Configure a specific version of Ruby. | ||
|
||
``` bash | ||
rbenv install 3.1.2 | ||
rbenv local 3.1.2 | ||
rbenv rehash | ||
``` | ||
|
||
Install bundler | ||
|
||
``` bash | ||
gem install bundler | ||
``` | ||
|
||
Install project dependencies | ||
|
||
``` bash | ||
bundle install | ||
``` | ||
|
||
Run the site locally | ||
|
||
``` bash | ||
bundle exec jekyll serve | ||
``` | ||
|
||
|
||
By default it uses the, | ||
|
||
* [kramdown](https://kramdown.gettalong.org/syntax.html) markdown syntax | ||
* [minima](https://github.com/jekyll/minima) theme | ||
|
||
|
||
|