This website is using Jekyll and the minima theme.
Add a file to the _posts
directory with the following format
YEAR-MONTH-DAY-title.md
Where YEAR
is a four-digit number, MONTH
and DAY
are both two-digit numbers.
All blog post files must begin with front matter. For example the minimal example is:
---
layout: post
title: "My awesome blog post"
---
# Post title
Post content
For more information see "Post" in the Jekyll documentation.
You must install Bundler to install and run Jekyll locally:
- Install Ruby. For more information, see "Installing Ruby" in the Ruby documentation.
- Install Bundler. For more information, see "Bundler."
- Run
bundle config set --local path 'vendor/bundle'
to configure Bundler to install gems in the./vendor/bundle/
project subdirectory. This step is required only once. - Run
bundle install
to install the dependencies. - Then you can serve the website with
bundle exec jekyll serve
and visit it at http://127.0.0.1:4000/.
To see your modifications you just need refresh the page. However, if you modify the _config.yml
file you will need to stop the process and serve the website again.
You must install Docker. For more information, see "Get Docker"
- Run
docker build -t kumojin .
to build the image and name itkumojin
- Then you can serve the website with
docker run -p 4000:4000 -v `pwd`:/app kumojin
and visit it at http://0.0.0.0:4000/.
To see your modifications you just need refresh the page. However, if you modify the _config.yml
file you will need to stop the process and serve the website again.