Use jekyll to generate html & thanks for Hacker Blog Theme
gem install jekyll
gem install jekyll-seo-tag
- (
cd
to the blog directory, then:)jekyll serve --watch --port 8000
- Go to
http://0.0.0.0:8000/
in your web browser.
Note: In case have set a baseurl
different than /
in _config.yml
, go to http://0.0.0.0:8000/BASEURL/
instead.
docker run --rm -p 8000:8000 \
--volume="LOCATION_OF_YOUR_JEKYLL_BLOG:/srv/jekyll" \
-it tocttou/jekyll:3.5 \
jekyll serve --watch --port 8000
Replace LOCATION_OF_YOUR_JEKYLL_BLOG
with the full path of blog repository. Visit http://localhost:8000/
to access the blog.
Note: In case have set a baseurl
different than /
in _config.yml
, go to http://0.0.0.0:8000/BASEURL/
instead.
CC0 1.0 Universal