简体   繁体   English

如何安装和设置Thumbor

[英]How to install and setup thumbor

I found an image hosting python project on the internet named thumbor , I believe its self-hosted, and their documentation is pretty straightforward. 我在互联网上找到了一个名为thumbor的图像托管python项目,我相信它是自托管的,其文档非常简单。 I didn't get all the process required to install and set up the server and start hosting images through API. 我没有获得安装和设置服务器以及通过API开始托管映像所需的所有过程。

if anyone setted up this service before, please help me, guide me through the process, please! 如果有人以前设置过此服务,请帮助我,指导我完成整个过程!

of if u guys know any free image hosting and CDN service, you can suggest me. 如果你们知道任何免费的图像托管和CDN服务,您可以建议我。 like cloudinary, but a little more free to use, coz I need to develop a simple user management site! 像cloudinary一样,但是要免费使用一点,因为我需要开发一个简单的用户管理站点!

I have recently used thumbor for personal projects : The easiest step to get thumbor working is to clone the repo from GitHub , 我最近在个人项目中使用了thumbor:使thumbor正常工作的最简单步骤是从GitHub克隆存储库,

Install it using setup.py & then start it using the command 使用setup.py安装它,然后使用命令启动它

thumbor -p 8000 

this will help you start the server at port number 8000 & then you can serve the requests using 这将帮助您在端口号8000上启动服务器,然后可以使用来处理请求

http://<thumbor-server>:PORT_NUMBER/300x200/smart/s.glbimg.com/et/bb/f/original/2011/03/24/VN0JiwzmOw0b0lg.jpg

I hope this helps you. 我希望这可以帮助你。 In case you are stuck, feel free to ask. 万一您被卡住,请随时询问。

You can also go through the following PDF to further understanding. 您也可以阅读以下PDF以进一步了解。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM