In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
How to use gitee to build a free picture bed, in view of this problem, this article introduces the corresponding analysis and answers in detail, hoping to help more partners who want to solve this problem to find a more simple and easy way.
Without a CVM, I began to want you to get a free picture bed, and the data will not be lost?
I think that I have built a GitHub Page on GitHub before, in which pictures can be uploaded and can also be accessed. Isn't this a good picture bed? you can save one locally, and you can upload it to the GitHub and save one on the cloud. You can also use the address provided by GitHub to access pictures online, which solves my current problem. However, after a few days of observation, the online access and loading of pictures on Github page is still a bit slow, so I thought of Gitee (Code Cloud). Can I build a free page service to host my pictures?
Check the official website of Gitee, so don't say a word, let's do it!
I. preparatory work
1. First, you must have a gitee account.
2. Then configure your own SSH locally
3. Finally, there is a local Git environment for the submission of later images.
These three steps of preparatory work will not be carried out concretely, and if there is no environment, we should first set up the environment.
2. Start work 1. Create a project
Click + create a new project, fill in the project name, and click create below, as shown below:
New project
2. Add file index.html (name must be index.html) add index.html
Index.html3, select the pages service and start the select page service and start
4. Visit the generated website address
After you have enabled the Gitee Pages service, visit the home address of page. This is my home page: http://dufyun.gitee.io/images_bed
At this point, a gitee page has been built!
To really make the picture bed work, please continue to look down!
5. Pull the gitee drawing bed project locally.
This step, without introduction, is to pull the project you just created on gitee locally.
6. Optimize the home page of gitee page
Because I'm just using it to save pictures, I'm not integrating the blog system. If you want, you can integrate this blog system such as page and hexo.
I am here just for the home page to look good, download a set of template home template! As follows:
Graphic Design template
Then modify it yourself, delete the unneeded files, and then directly put it into the project path downloaded in step 5, commit, push!
Local directory
Then you can visit the home page that feels more comfortable! Access address: https://dufyun.gitee.io/images_bed/
7. Daily use
I am using Youdao cloud notes to store notes. It is said that Markdown cannot upload pictures directly if it is not a member. I use Typora to write Markdown. When I want to edit an article, I first create a folder, put the corresponding pictures together, directly reference the image address of the local path in Typora, then submit the picture to gitee after the content is written, and finally use the Typora-enabled source code mode to copy the content to the text editor. Replace all local image addresses with gitee addresses (only need to replace the path in front of the picture)! Like my own.
Content replacement F:\ gitee_workspace\ images_bed\ images\ techy\
Replace it with the following address:
Https://dufyun.gitee.io/images_bed/images/techy/
In this way, if the gitee hangs up one day, you can directly replace the address in the gitee with the local address, and the picture can still be accessed!
The following is the display effect of Cloud markdown:
This is the answer to the question about how to use gitee to build a free picture bed. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.
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.