miguelgrinberg -
The Flask Mega-Tutorial, Part XVII: Deployment on Linux
This is the seventeenth installment of the Flask Mega-Tutorial series, in which I'm going to deploy Microblog to a Linux server.
AI生成摘要 这是Flask Mega-Tutorial系列的第17篇文章,介绍了如何将Microblog部署到Linux服务器上。文章提到了传统托管选项,如使用Linux服务器和Raspberry Pi等。还介绍了使用Digital Ocean、Linode或Amazon Lightsail等经济托管服务的方法。文章还讨论了部署过程中的一些步骤,如创建Ubuntu服务器、使用SSH客户端、配置无密码登录、安全性设置、安装基本依赖项、设置MySQL、设置Gunicorn和Supervisor、设置Nginx等。最后,文章提到了在Raspberry Pi上进行托管的方法。