https://github.com/snowkylin/snowkylin.github.io
Snowkylin's Blog - 雪麒的百草园
https://github.com/snowkylin/snowkylin.github.io
deep-learning machine-learning
Last synced: 10 months ago
JSON representation
Snowkylin's Blog - 雪麒的百草园
- Host: GitHub
- URL: https://github.com/snowkylin/snowkylin.github.io
- Owner: snowkylin
- Created: 2016-08-18T14:33:06.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2025-02-07T16:17:09.000Z (over 1 year ago)
- Last Synced: 2025-02-07T17:24:49.125Z (over 1 year ago)
- Topics: deep-learning, machine-learning
- Language: HTML
- Homepage: https://snowkylin.github.io
- Size: 31.8 MB
- Stars: 13
- Watchers: 4
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Snowkylin's Blog
```sh
# install ruby in Ubuntu https://jekyllrb.com/docs/installation/ubuntu/
# ubuntu mirror: https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
sudo apt-get update
sudo apt-get install ruby-full build-essential zlib1g-dev
echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc
echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
# add gem mirror in China
gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/
# install jekyll and bundler with gem
gem install jekyll bundler
# set mirror in China
bundle config mirror.https://rubygems.org https://gems.ruby-china.com
# cd to blog directory
cd /mnt/c/Users/snowkylin/OneDrive/github/snowkylin.github.io
# install dependencies in Gemfile
bundle install
# run jekyll
bundle exec jekyll serve
# for auto-regeneration, https://github.com/microsoft/WSL/issues/216#issuecomment-756424551
bundle exec jekyll serve --force_polling
# for error regarding webrick
bundle add webrick
```