Instructions for using this repo.
- Follow the Jekyll instruction to make sure it is installed. Remember to check the prerequisite.
- You can update the Ruby on Mac with RVM,
\curl -sSL https://get.rvm.io | bash -s stable
, andrvm install ruby
. This will take a while.
- You can update the Ruby on Mac with RVM,
- Go the
shengchao-lin.github.io/docs/
and runbundle install
to install all dependencies.- If faced with error "fatal error: 'openssl/ssl.h' file not found", try
brew install openssl
thenbrew link --force openssl
.
- If faced with error "fatal error: 'openssl/ssl.h' file not found", try
- Run
bundle exec jekyll serve
. - Go to
localhost:4000
to see the built website.
Trouble shooting:
- If you get errors like "fatal error: 'openssl/ssl.h' file not found", try to get
ssl.h
first. Dogem install jekyll -- -- with-cppflags=-I/usr/local/opt/openssl/include
.