Using Jekyll
In this post I will record how I have been using jekyll.
Setting up local Jekyll
Follow this tutorial to set up Jekyll.
Install Ruby. Recommended to use rbenv.
Install Bundler:
gem install bundler
Install Jektll and dependencies from GitHub Pages gem:
bundle install
Run Jekyll site locally:
bundle exec jekyll serve
In case couldn’t run, install libraries.
sudo apt-get install libpng-dev
sudo apt-get install --reinstall zlibc zlib1g zlib1g-dev
Export Jupyter Notebook to Markdown
jupyter nbconvert --to markdown my_blog/database/insert_sql.ipynb --config jekyll.py