In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the relevant knowledge of "how to build a personal blog in Github". In the operation of actual cases, many people will encounter such a dilemma. Then let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Github pages personal blog, written in hexo, continuously integrated in Travis CI, automatically published
Github Pages sets what is Github Pages
GitHub Pages was supposed to introduce projects hosted on GitHub, but since his space is free and stable, it's a great way to build a blog.
Each account can only have one warehouse to store the personal home page, and the name of the warehouse must be username/username.github.io, which is a special naming convention. You can visit your home page through http://username.github.io.
Create your own Github Pages
My github pages is: http://tinyking.github.io
The process of registering GitHub and using Github Pages has been discussed in many articles. I won't go into details here, but you can refer to:
Create a full series of blog homepages on GitHub step by step
How to build an independent blog-- A concise tutorial on Github Pages and Hexo
Here I created a github repo called http://tinyking.github.io.. After the creation is complete, you need to have a git commit operation, which can then be accessed through the link http://tinyking.github.io.
Hexo environment configuration local configuration
There are many tutorials for configuring the environment locally on the Internet, please search by yourself.
Use templates
Visit https://github.com/tinyking/tinyking.github.io and switch to the hexo branch
Tinyking.github.io
Select download
Image.png
If there is no local node, hexo environment, it can not be run, check out the hexo blog. However, it can be integrated through Travis CI.
Travis CI integration 1. Modify git address
Tinyking.github.io
Enter .git and open config
Tinyking.github.io
Config file
Change url to your own github address
two。 Modify .travis.xml
.travis.xml
Change it to your own user name and mailbox
3. Create github token
Note: you need to copy the token for later use, and the token value can only be seen once.
Tinyking.github.io
4. Create a Travis task
Tinyking.github.io
Add the token of Github to the target location
Tinyking.github.io
5. Upload github
Just push the blog to github.
This is the end of the content of "how to build a personal blog in Github". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.