Hexo搭建教程

前言

主要记录一下搭建这个博客的全过程,同时把自己在搭建过程中遇到的一些东西也记录下来,作为以后的参考。

一、选择GitHub Pages

选择原因

  1. github pages有300M免费空间,自己管理资料比较可靠;
  2. 学习使用github,为自己的学习打下基础;
  3. 最主要是看上去逼格高啊!!!

    GitHub Pages是什么?

    GitHub Pages本用于介绍托管在GitHub的项目,不过大牛们还是想出了很多利用其空间的方法,于是就有了类似Hexo这样的程序。

    二、安装需要的软件

    需要的软件主要有两个

  4. Git 下载地址:http://git-scm.com/
  5. Node.js 下载地址:http://nodejs.org/

    查看更多

分享到 评论

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

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

分享到 评论