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 -lTo check you can run
type rvm | head -n1The output should be
rvm is a shell function from ...
Now we can use the proper version of ruby
rvm use 3.3.1To view posts before publishing run this in the root directory
bundle exec jekyll serve --watch --livereload --futurethen visit localhost:4000
This will only work if the ruby version is correct.
You shouldn't need to run bundle install again!
Typing commands manually is so 6 months ago! I made a script to start the server locally (it's one command)
./local-server.sh