Hexo 安装成功

作者: 冬天只爱早晨 | 来源:发表于2016-11-07 23:19 被阅读25次

花了两个晚上,从知道Hexo到使用到部署到Github上中间遇到了一些坑,首先就是版本的问题。

  • nodejs
  • git

安装hexo

npm install -g hexo
 clean     Removed generated files and cache.
 config    Get or set configurations.
 deploy    Deploy your website.
 generate  Generate static files.
 help      Get help on a command.
 init      Create a new Hexo folder.
 list      List the information of the site
 migrate   Migrate your site from other system to Hexo.
 new       Create a new post.
 publish   Moves a draft post from _drafts to _posts folder.
 render    Render files with renderer plugins.
 server    Start the server.
 version   Display version information.

最后一步发布到github上,这个要参照官方文档如下

deploy:
  type: git
  repo: <repository url>
  branch: [branch]
  message: [message]

Install hexo-deployer-git.

$ npm install hexo-deployer-git --save

就ok了

相关文章

  • hexo 部署到 github

    一、首先搭建 hexo 本地博客 1、git和Node.js都安装成功后,安装hexo,命令如下: 2、创建 my...

  • Hexo 教程

    注意:如果你使用的是 Windows 系统,Hexo 很容易安装不成功 如果不成功,二选一: 你就放弃 Hexo,...

  • Hexo 博客的命令

    安装 npm install hexo -g #安装 npm update hexo -g #升级 hexo in...

  • nginx快速搭建静态博客

    1.安装配置Hexo 在mac上安装Node/Npm,使用homebrew安装 安装Hexo 2.配置Hexo文件...

  • Github+Hexo+next7 搭建个人博客 2020-04

    github+Hexo 搭建博客 目录: 1、安装node.js及检验是否安装成功 2、安装git及检验是否安装成...

  • Hexo搭建个人博客

    准备环境 安装 Node 安装 Git 注册码云或者github 安装 Hexo 出现下图表示安装成功 搭建本地个...

  • Hexo 学习

    hexo 安装 安装 生成hexo项目 进入工程 安装 生成发布文档,或者生成build文档查看 hexo 开启搜...

  • Hexo 安装成功

    花了两个晚上,从知道Hexo到使用到部署到Github上中间遇到了一些坑,首先就是版本的问题。 nodejs gi...

  • 基于GitHubPages和Hexo建立个人博客

    1. 概览 2. Hexo环境配置 2.1 安装Hexo 安装Hexo之前,我们需要检查我们是否安装Node.js...

  • 使用 Hexo + Github 搭建博客教程,支持在新电脑同步

    安装环境 本地安装git, node 安装hexo 使用npm安装hexo,官方提供的详细安装方法:https:/...

网友评论

    本文标题:Hexo 安装成功

    本文链接:https://www.haomeiwen.com/subject/kbfauttx.html