Skip to content

Dasian/dasian.github.io

Repository files navigation

Dasian's Blog

Why are you here? You should check out the running blog on dasian.github.io!

How is it running?

  • 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

Setup

This section is just for taking notes setting this blog up on my systems

Ruby Version

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

Local Server

To view posts before publishing run this in the root directory

bundle exec jekyll serve --watch --livereload --future

then visit localhost:4000

This will only work if the ruby version is correct. You shouldn't need to run bundle install again!

Script

Typing commands manually is so 6 months ago! I made a script to start the server locally (it's one command)

./local-server.sh

About

Personal blog where I write about exploits and CTFs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published