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 .
Equipment and technology used
- equipment ： Cloud server
- technology ：Hexo、supervisor、nginx
- Software ：Xftp
Steps to build
1、 install node Environmental Science
This step belongs to the basic operation , Direct Baidu , I won't go into details here .
2、 start-up hexo project
The operation results are as follows . Demo page Portal
3、 Add images
Put your picture , Add directly to hexo Under the project of source Folder is ok .
4、 Advanced ： collocation supervisor、nginx More suitable for
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 ：
- supervisor： It runs automatically in the background hexo project .
- nginx： take hexo The access address is linked to your own domain name , For example, I ： ./api/img-cdn/python-office.jpg
At the end
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 ~