使用hexo在github上搭建博客

使用hexo在github上搭建博客

说明:记录使用hexo在github.io上搭建博客的过程。
大家好!这是ruilog的测试文章。记录了用hexo在github.io上搭建自己的博客的过程。

虽然很简单,但是我还是弄了很久,真不容易。先尝试了一个简单的主题,等到遇到一个喜欢的主题再更换一个。不过现在可以先学一下怎么更换主题。
接下来打算开始写博客,记录点滴,留下轨迹。

以下内容是我的记录:

使用hexo 部署博客:
主要参考教程:
http://www.cnblogs.com/zhcncn/p/4097881.html

遇到的问题及解决方案:

hexo ERROR Deployer not found: github

安装 npm install hexo-deployer-git --save
将deploy 的 type由github改为git

基本使用方法:
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

$ hexo new "My New Post"

More info: Writing

Run server

$ hexo server

More info: Server

Generate static files

$ hexo generate

More info: Generating

Deploy to remote sites

$ hexo deploy

More info: Deployment

Ref:
http://www.jianshu.com/p/73779eacb494 (recommend)
http://www.jianshu.com/p/858ecf233db9
http://raytaylorlin.com/reading/
https://github.com/raytaylorlin/hexo-theme-raytaylorism
http://notes.iissnan.com/
http://herechen.github.io/thinking/the-keys-of-running/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值