What is Flask?
Flask is a lightweight web framework that was developed based on: Python, WerkzeugWSGI, and Jinja2 template engine. It also has has a wealth of open source plug-ins.
21YunBox provides a very simple Flask deployment method. 21YunBox allows you to quickly deploy in a static site environment.
How to deploy Flask in China?
- Register as a 21YunBox member
- On Gitee Fork flask example
- Create a cloud service on 21YunBox, and allow 21YunBox to access your code base
- Create with the following configuration
Environment. | Python 3 |
---|---|
Build command | pip install -r requirements.txt |
Start command | gunicorn app:app |
If you'd like a step by step example, please refer to the video below: How to deploy the Flask project to the server.
Why Choose 21YunBox?
21YunBox is a Cloud Service platform based out of Beijing. Our services enable your team to be more effective in leveraging the growing opportunity within China by hosting your sites at blazing speeds with an operational and maintenance free solution.
We offer an easy and budget friendly, end-to-end web platform deployment service for all applications from small teams to large enterprises.
Need assistance it obtaining your ICP? Let us know, we are happy to assist you in the process.
Looking to deploy other projects in China? See a list of a few of our How-to-Deploy series below:
- How to deploy Next.js
- How to deploy Hexo
- How to deploy Strapi
- How to deploy Django
- How to deploy Docsify
- How to deploy Express
- How to deploy Jekyll
- How to deploy Laravel
- How to deploy Nuxt.js
- How to deploy React
- How to deploy Streamlit
- How to deploy Vue.js
- How to deploy VuePress
- How to deploy Hugo
- How to deploy Gatsby
- How to deploy Rails
- How to deploy Spring Boot
- How to deploy Go Gin
This article's content originated here
For additional detail and future modifications, refer the original post.
Top comments (0)