Start Up

2017-02-06

This Blog System is built with Hexo. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask the author on GitHub.

Quick Start

Init Repo

1
2
3
4
git clone git@github.com:lu-com/lu-com.github.io.git
cd lu-com.github.io
npm install -g hexo-cli
npm install

Create a new post

1
hexo new "My New Post"

More info: Writing

Run server

1
hexo server

More info: Server

Generate static files

1
hexo generate

More info: Generating

Deploy to remote sites

1
hexo deploy

Push your source code

1
2
3
4
git add .
git commit -m "commit blogs"
git pull --rebase
git push origin hexo

More info: Deployment