0%

Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

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

初始化

git init .

增加 theme
git submodule add git@github.com:theme-next/hexo-theme-next themes/next

git commit -m “init”

推送到远程仓

git remote add origin git@github.com:wanghongxing/wanghongxing.github.io.git
git push –set-upstream origin src

Deploy to remote sites

1
$ hexo deploy

More info: Deployment