Recently, as I have been using a new computer, I should redeploy the blog site whose source code is in my previous computer. Here, I would record the general process of reployment.
The process of installment of node.js & hexo is simliar to the process in the last blog:
- Installing Node.js
Download the Node.js installer from its offficial website, and install it.
- Installing Hexo
npm install hexo-cli -g
hexo init XXX.github.io
Clone the remote repository
git clone email@example.com:username/username.github.io.git
Install Dependncies based on package.json
Clone the themes that your blog site is using
Genearte the website, then publish locally
Publish the New Blog