Github Pages + Gridea build personal blog

1 Overview

Github Pages can be used to host personal websites, static, easy to implement blog, you can open a warehouse in settings:
Here Insert Picture Description
Gridea is a static blog writing client, all files are local, there is no database, simple, Markdown support .
Here Insert Picture Description
Well, not much to say started working.

2 Preparations

  • A Gthub account
  • A repository Github Pages
  • A Gridea client (supports Mac, Windows, Linux)
  • (Optional) a domain name

3 Github Pages

Here Insert Picture Description
Warehouse names are:

用户名.github.io

Need to open a warehouse with a REDAME file, and then create.
Here Insert Picture Description
Enter the settings turned on Github Pages:
Here Insert Picture Description
drop-down to find Github Pages:
Here Insert Picture Description
default master branch, you can select a topic.
Here Insert Picture Description
Then in the name of your browser and enter the warehouse just created can be visited.
Here Insert Picture Description

4 Gride

This completes the theory, but if you want to look better and more convenient to manage some, we must use Gridea.
Go to download, the official website here .
After downloading open directly into the setting:
Here Insert Picture Description
the domain name and the same warehouse, a branch fill master, email fill their own, said here about Token open settings set by the developer:
Here Insert Picture Description
Create a new Token:
Here Insert Picture Description
. warehouse only need to check the relevant authority, the name can easily
Here Insert Picture Description
copy fill
Here Insert Picture Description
can then test the connection:
Here Insert Picture Description
Here Insert Picture Description
If the previous steps fail, please return take a look at what went wrong.
You can set the theme and so on after set up, custom landscaping.
Here Insert Picture Description
can preview resynchronization after set up.
Here Insert Picture Description
after complete synchronization can be entered in the browser

用户名.github.io

A visit.

Here Insert Picture Description

Guess you like

Origin www.cnblogs.com/Blueeeeeeee/p/12501224.html