Skip to content

GraphicDThanh/GraphicDThanh.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 

Repository files navigation

GraphicDThanh Blog

This github pages use jekyll

Run App

Install gem

$ cd docs
$ bundle install

Run app

$ bundle exec jekyll serve
$ bundle exec jekyll serve --livereload

Access blog by http://127.0.0.1:4000/

Set Up Your New App

Note: this app use approach create separate env of ruby instead of use global. ( ref ref )

Set up a separate Ruby development environment with rbenv

$ brew update
$ brew install rbenv
$ rbenv init
$ eval "$(rbenv init - zsh)" > ~/.zshrc
$ rbenv install 3.1.4
$ rbenv local 3.1.4

Install gem

$ bundle install

Naming convention

  • Image name: YYYY-MM-post-slug-img##.jpg
  • Example: 2020-07-dai-ban-doanh-python-series-overview-cover.jpg
  • Folder: assets/images/2020/07

Theme

Upload indexing to Algolia

ALGOLIA_API_KEY=xxx bundle exec jekyll algolia

Releases

No releases published

Packages

No packages published