preface

This is my first article on getting started

HI, my friends, I’m Helu. Almost every programmer dreams of having a blogging platform of his or her own, and having a personal blog should be something to aspire to, where you can record and share your opinions, as well as enhance your abilities. But for some of the weak technical ability, want to start from zero to build a complete blog platform is not small difficulty. So in today’s post, I’m going to share with you an article about building a personal blogging system using Gridea+Github Pages, with no code and almost no technical barriers.


What is Gridea?

Gridea (gridea.dev) is a static blog management tool based on Github Pages and Coding Page. You u can display pages directly with GitHub or Coding.

2. Setup steps

Download and install Git

Because you need to upload your local data to the GitHub repository, you need a Git client, so you can download and install it.

2. Download and install the Gridea client

Go to the Gridea website and choose the version you want to download. I am under the Windows version of the installation is complete, open the software as shown in the figure below:

3. Create a Github repository and generate a key

To create a Github repository, you need to apply for a Github account. By default, you already have one (if you don’t have one). If my account is 277769738, then the name of the repository should be 277769738. GithubAfter creating a new repository, access https://+ the name of your repository. If you fail to access 404, you have a configuration problem. Please check your steps carefully. A nearly blank page is a success. Let’s start generating the key. Open Personal Settings, click Developer Settings, select Personal Access Tokens, and click Create a new Token.When you’re done, you’ll get a bunch of keys, save them in a document (because you may not find them later), and then you’re almost ready to start the final configuration.

4. Configuration Gridea

Open the installed Gridea, select the remote column, start the basic configuration, and fill in the relevant information. The Token is a string of Token keys just generated. After filling in the Token key, you can click “Check the remote connection” to see whether the connection is successful. If the connection fails, check whether the information is correct.

5. Add comments

Gridea currently supports both Gitalk and Disqus review systems, but I’m using Gitalk here. First create a GitHub OAuth Applicatio and get the Client ID and Client Secret. The creation steps are as follows:Get the Client ID and Client Secret and configure the comment on the Gridea Client, as shown below

Test 6.

Write an article, click sync, and you’ll be pushed to the Github repository. Then you can visit the domain and see the published article. Click on the article to view the content. Note: If you are using the comment function for the first time, you need to enter your Github account password and authorize yourself to use the comment function.


conclusion

At this point, the setup process is over. If you have any questions, please feel free to talk in the comments section. If you like it, please also like it. Love you