Hua Weiyun 2022-06-23 18:48:46 阅读数:716
Hello everyone , This is Wang Feng, a programmer .
Recently, I am building a personal website :www.python-office.com, Need to use a drawing bed , To store images and other files that are used by multiple pages .
This time I choose cloud server + Hexo Build the framework .
This step belongs to the basic operation , Direct Baidu , I won't go into details here .
newly build hexo project hexo init hexo-demo Get into hexo-demo Folder , Installation dependency cd hexo-demonpm install After running the project and installing the dependencies , Execute the following command , start-up hexo The server ,hexo server
The operation results are as follows . Demo page Portal
Put your picture , Add directly to hexo Under the project of source Folder is ok .
[[email protected]VM-0-5-centos source]# pwd./hexo-demo/source[[email protected]VM-0-5-centos source]# tree.|-- 1-wemedia-group.jpg|-- 2-free-group.jpg|-- 3-finance-group.jpg|-- 4-cq-group.jpg|-- cartoon-img.jpg|-- github-nav.jpg|-- icon.jpg|-- img2cartoon-error.jpg|-- _posts| `-- hello-world.md|-- python-office.jpg`-- qrcode.jpg
Complete the above tasks , This simple drawing bed can already be used .
If you want to make the project more automated 、 Easy access , It can be matched with the following 2 One technology ：
This kind of drawing bed , It is suitable for the situation that your server is rich in resources .
If you have any questions about the article , Welcome to the comment area to communicate with me ~
版权声明：本文为[Hua Weiyun]所创，转载请带上原文链接，感谢。 https://qdmana.com/2022/174/202206231742473911.html