-
安装node.js
-
克隆博客仓库到本地
git clone [email protected]:rainzhop/cumulus-blog.git
-
进入仓库目录,安装hexo及相关包
cd cumulus-blog npm i
hexo new <new-post-name> # 新建新文章
hexo new draft <new-post-name> # 新建草稿
hexo s --draft # 预览草稿
hexo p <new-post-name> # 发布
hexo server
hexo clean
hexo generate
hexo deploy