JAMES

  • 首页

  • 关于

  • 标签

  • 归档

Github.io + Hexo To Build Your Blog

发表于 2017-10-31 | 更新于 2018-01-16

Introduction

This is my first blog. Building github page - github.io
Using theme by hexo - next

Hexo! This is your very first post. Check documentation for more info.

Github Pages Config

Creating a new repository name [USERNAME].github.io

Init a hexo project and replace a theme as you like

Runing command

1
$ hexo deploy

To building your blog public files.

Then push the deploy files which names ‘public’ to your repository([USERNAME].github.io)

Reading the repository setting, viewing the Github Pages that you can see whether your pages config success or fail.

If success, open your link by http://USERNAME.github.io

It is working now

Hexo Help

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

12
James.Yang

James.Yang

我不知道未来我将去何方,但我一直在路上

11 日志
23 标签
© 2019 James.Yang
由 Hexo 强力驱动 v3.6.0
|
主题 – NexT.Mist v6.4.2