简体   繁体   English

如何部署 python FLASK API?

[英]How to deploy python FLASK API?

I have created a api using flask in python.我在 python 中使用 flask 创建了 api。 I am done with development.我完成了开发。 Now I want to deploy it.现在我想部署它。 Can anyone help me that where can i deploy my api and how?谁能帮助我,我可以在哪里部署我的 api 以及如何部署?

There are many services(PaaS) that you can use to deploy your app.您可以使用许多服务 (PaaS) 来部署您的应用程序。 I personally use heroku .我个人使用heroku

You can use AWS also from the free tier account.您也可以通过免费套餐帐户使用 AWS。 If you just google you will find many options( OpenShift, CapRover, Digital Ocean,etc)如果你只是谷歌,你会发现很多选项(OpenShift、CapRover、Digital Ocean 等)

You can try the deployment of flask api with Ubuntu.您可以尝试部署 flask api 和 Ubuntu。

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

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