Skip to content

hawkhai/hawkhai.github.io

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a modified version of Gaurav Chaurasia's Much-Worse Jekyll theme {% include relref_github.html %}.

Source for https://blog.hawkhai.com.

Source for https://sunocean.life/blog.

Windows Environment setup

搭建 Windows Jekyll 环境

https://blog.hawkhai.com/blog/2020/08/29/win-jekyll-install

Environment setup

$ sudo apt-get install nodejs git curl zlib1g-dev build-essential libssl-dev \
    libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev \
    libcurl4-openssl-dev python3-software-properties libffi-dev ruby-dev

$ git clone https://github.com/rbenv/rbenv.git ~/.rbenv
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
$ echo 'eval "$(rbenv init -)"' >> ~/.bashrc
$ exec $SHELL

$ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
$ echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
$ exec $SHELL

$ # mkdir ~/.rbenv/cache/
$ # mv ruby-2.3.1.tar.bz2 ~/.rbenv/cache/

$ rbenv install 2.3.1
$ rbenv global 2.3.1
$ ruby -v

$ gem install bundler
$ rbenv rehash

Troubleshooting: https://gems.ruby-china.com/ bundle update json

Then in the root of the project:

$ bundle install

Host using local server:

$ bundle exec jekyll serve --host 0.0.0.0 --port [port]

Troubleshooting


<script type='text/javascript' src='{% include relref.html url="/assets/reviewjs/README.md.js" %}'></script>

参考资料快照

About

Personal website and blog.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 96.7%
  • JavaScript 1.1%
  • Hack 0.8%
  • C 0.6%
  • C++ 0.4%
  • ASP.NET 0.3%
  • Other 0.1%