fuhailin / fuhailin.github.io

https://fuhailin.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

这是一个我的个人博客,my personal blog: https://fuhailin.github.io/

Install NodeJS & Hexo

sudo apt-get install nodejs # Install Node.js on Ubuntu or brew install node # Install Node.js on MacOS node -v and npm -v to check Node.js installation status

npm install hexo-cli -g # Install Hexo

Clone blog & Update Next Theme

git clone --recursive https://github.com/fuhailin/fuhailin.github.io.git

cd fuhailin.github.io.git && npm install

cd theme/next && git remote show origin Add the remote, call it "upstream":

git remote add upstream https://github.com/theme-next/hexo-theme-next.git

Fetch all the branches of that remote into remote-tracking branches, such as upstream/master:

git fetch upstream

Make sure that you're on your master branch:

git checkout master

Rewrite your master branch so that any commits of yours that aren't already in upstream/master are replayed on top of that other branch:

git rebase upstream/master

Start local server

hexo server

About

https://fuhailin.github.io/


Languages

Language:Jupyter Notebook 98.8%Language:Python 0.8%Language:C++ 0.1%Language:Java 0.1%Language:Scala 0.1%Language:Shell 0.0%Language:C 0.0%