nicolas.perriault.net
nicolas.perriault.net copied to clipboard
My personal blog
My blog
This repository holds code & contents of my personal weblog. It's a static website built using Jekyll and the Hydeout theme. It's hosted on Github Pages.
Install
Ensure Ruby and rbenv are installed, then:
$ rbenv install 2.7.4
$ rbenv local 2.7.4
$ bundle
To start the development server:
$ bundle exec jekyll serve
Now browse to localhost:4000.
Live reload
To run the blog locally with auto-reload, install browser-sync:
$ npm install -g browser-sync
And run:
$ bundle exec jekyll browsersync
Deploy
The blog uses Github Pages for automatic deployment, so it's just matter of:
$ git push master
Image optimization
$ sudo apt install jpegoptim optipng
$ find static -name "*.jpg" | xargs jpegoptim
$ find static -name "*.png" | xargs optipng
License
Contents in ./_posts
are licensed under the terms of the Creative Commons BY-NC-SA license.