Hello hexo

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.

before Start

如果在新的路径中Clone下来,首先执行自定义的sh firstLoad.sh

1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

#install for ready
npm install
#install server
npm install hexo-server --save

#theme
#tranquilpeak
#A gorgeous responsive theme for Hexo blog framework
# 解决transquilpeak的依赖问题
cd themes/tranquilpeak
npm install

路径改变之后,这里需要下载一些相关的依赖

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

Clean cache and public

Clean db.json and public, also clean categories and tags if you need to remove somes.

1
$ hexo clean

More info : Clean

Deploy to remote sites

1
$ hexo deploy

More info: Deployment