Jekyll docs
Posted on 16/09/20201. Quickstart
- Install a full Ruby development environment
- Install Jekyll and bundler gems
gem install jekyll bundler - Create a new Jekyll site at
./myblogjekyll new myblog - Change into your new directory
cd myblog - Build the site and make it available on a local server
bundle exec jekyll serve - Now browse to http://localhost:4000
2. Kill Jekyll server
Stopping a Jekyll server with ctrl-z can cause issues as the process is not stopped fully. To kill it:
$ lsof -wni tcp:4000
$ kill -9 <PID of process>
And next time, use crtl-c to stop.