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 installto install all dependencies.- If faced with error "fatal error: 'openssl/ssl.h' file not found", try
brew install opensslthenbrew link --force openssl.
- If faced with error "fatal error: 'openssl/ssl.h' file not found", try
- Run
bundle exec jekyll serve. - Go to
localhost:4000to see the built website.
Trouble shooting:
- If you get errors like "fatal error: 'openssl/ssl.h' file not found", try to get
ssl.hfirst. Dogem install jekyll -- -- with-cppflags=-I/usr/local/opt/openssl/include.