Skip to content

Commit

Permalink
first draft post
Browse files Browse the repository at this point in the history
  • Loading branch information
galtay committed Jan 4, 2025
1 parent f03dc88 commit 7a11c3a
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,6 @@ cython_debug/

# PyPI configuration file
.pypirc

# emacs backup files
*~
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.1.2
55 changes: 55 additions & 0 deletions _posts/2024-01-04-setup-jekyll.md
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



0 comments on commit 7a11c3a

Please sign in to comment.