Blog: bugstack.cn

Precipitation, share, grow, let yourself and others can gain something! 😄

One, foreword

It's good to read my blog. You want one?

Some fans asked Little Brother Fu, your blog: bugstack.cn is very good and I also want to complete a whole blog. The interview can be added to the resume, but also to build their own influence.

But I don’t have my own domain name, I don’t have any cloud servers, and I don’t know much about the front end. Then it’s too complicated and I don’t have time to maintain it. Is there an easier way to start a blog like this?


There are plenty of different types of blogs you’ve played, including Hexo, Vuepress, Jekyll, Docsify, and so on. I highly recommend docsify for those who want to use it. Maintain a document repository directly on GitHub/Gitee, and you can have a beautiful, simple, easy-to-use, easy-to-maintain wySIWYG blog.

Why not use CSDN, Nuggets, books?

Of course you can, but these are not manuscript repositories, your content output needs to be maintained and accumulated at will, and can be placed on any other platform if needed in the future. And you write in GitHub repository, is the original one, the rest are backup spread, so that you are more conducive to precipitation, accumulation and sharing.

Next little Fu Ge will teach you to build such a blog, because I have helped you prepare the blog template, so in this process, you just follow the steps, point by point, deployment is finished. Come on, let’s go!

Introduction to Docsify

Docsify can help you quickly generate document websites. Unlike GitBook, Hexo does not generate static.html files; all conversion is done at run time. If you want to get started, just create an index.html and start writing documentation and deploy it directly on GitHub Pages. Liverpoolfc.tv: docsify.js.org/#/zh-cn

1. Directory structure

  • The configuration of docsify’s directory structure is very simple, if you don’t need to modify it, justmdDirectory to write documentation in_sidebar.mdConfigure the article path.
  • index.htmlThis command is used to configure basic website information, including website collection, message board, and address.
  • _coverpage.mdThis parameter is used to configure the homepage information and Logo

2. The md

  • All article content is written in MD format. Rest assured that you will not use too complex content, a little sister operation can learn half a day.
  • MD using document: www.runoob.com/markdown/md…

Three, quickly set up a blog

Here to provide you with GitHub/Gitee two kinds of warehouse to build a blog, convenient for some small white access to GitHub laborious can also be built with Gitee blog.

  • Warehouse: github.com/fuzhengwei/…
  • Note: this is a docsify blog warehouse address, some of the necessary simple configuration information small Fu Ge has helped you deal with, directly use.

1. GitHub Page

  • Advantages: Standard, unrestricted deployment, high degree of freedom, free domain name configuration
  • Disadvantages: domestic access speed is slow, the warehouse can not be set up private

1.1 Step 1: Fork

Open github.com/fuzhengwei/… Click fork to your own repository.

1.2 Step 2: Configuration

  • Click Setting to enter the General project name page.
  • Pay attention to: You mustfuzhengwei.github.ioChange it to your namexxx.github.ioHere XXX is the name of your GitHub, as wellgithub.com/{xxxx}The name after the link, do not change the wrong, or you will fail.

1.3 Step 3: Enable

  • Click Setting to enter the Page
  • Modify the blog resource space as shown abovedocsFolder, this step is to select the blog space address, remember not to configure the wrong.

1.4 Step 4: Access

Well, when you see after the configuration has been remind you that Your site is published at https://fuzhengwei.github.io/ to prove that you are successful, you can visit Your blog address. PS: wait, because initialization has a process, it’s compiling and then it can be accessed later.

2. Gitee Page

  • Advantages: Fast access, blog warehouse can be set private
  • Disadvantages: You cannot configure your own domain name and can use it only after uploading your identity information

2.1 Step 1: Import

Instead of using GitHub, import the blog repository in Gitee as follows:

  • The import project page is displayed.Gitee.com/projects/im…- Also available from the top right corner of gitee+Number to enter.
  • Copy the blog template:Github.com/fuzhengwei/…Paste theGit repository URLCan.
  • Modify theThe name of the warehouse,The path, for your Gitee account name, my name here isyamiedeiJust copy your own.

2.2 Step 2: Configuration

  • fromservice çš„ Gitee PagesEnter to enter the configure blog page.
  • But since you’re basically new to Gitee Pages it asks you to upload your authentication information and it will be reviewed in a day.

2.3 Step 3: Authentication

  • If you get to this page, you can submit information later and continue the next day.

2.4 Step 4: Enable

  • Once all the above steps are done, you can start your own blog, which will also give you a blog address to update every time you upload a new post.

Four,

Programmers, why blog?

Me, software engineering? When I was in school, I thought I was a development engineer after graduation, but I didn’t expect to become a PPT engineer after years of work.

Why? Because writing code is just the most basic ability as a programmer, if you want to continue on this path, you need to have; Extracting logical ability, implementation standards means, be born, which promote all need step by step, is to convert your thinking to be visible, no matter it is PPT, diagram, flow chart, or mind mapping, anyway you need a suitable tool to express your ideas, with the lowest cost to complete the messaging communicators and confirmation.

So for programmers, the ability to grow beyond the code, the better way is to write blog, record and share, accumulate precipitation, through such a process to constantly improve their ability in content expression, and expand and stretch their own technology stack system.

Well, now you have a document blog that you can maintain as a repository, and as you learn, refine, add, and grow, you will eventually become a good coder. Come on!

If you’ve already set it up, leave your blog address in the comments section.