This github pages use jekyll
$ cd docs
$ bundle install
$ bundle exec jekyll serve
$ bundle exec jekyll serve --livereload
Access blog by http://127.0.0.1:4000/
Note: this app use approach create separate env of ruby instead of use global. ( ref ref )
$ brew update
$ brew install rbenv
$ rbenv init
$ eval "$(rbenv init - zsh)" > ~/.zshrc
$ rbenv install 3.1.4
$ rbenv local 3.1.4
$ bundle install
- Image name:
YYYY-MM-post-slug-img##.jpg
- Example: 2020-07-dai-ban-doanh-python-series-overview-cover.jpg
- Folder:
assets/images/2020/07
ALGOLIA_API_KEY=xxx bundle exec jekyll algolia