Why are you here? You should check out the running blog on dasian.github.io!
- Github Pages
- Jekyll
Github Pages allows me to host a static website for free on github.
Jekyll is a static site generator. I'm also using the chirpy theme
This section is just for taking notes setting this blog up on my systems
The github pages gem depends on a version of jekyll that isn't compatible with the chirpy theme. To solve this you can change the local ruby version you're using with RVM.
RVM needs to be run in a login shell (for some reason)
zsh -l
To check you can run
type rvm | head -n1
The output should be
rvm is a shell function from ...
Now we can use the proper version of ruby
rvm use 3.3.1
To view posts before publishing run
bundle exec jekyll serve --watch --livereload
then visit localhost:4000
This will only work if the ruby version is correct.
You shouldn't need to run bundle install
again