Categories

Tags

Flask official website screenshot
Flask official website screenshot

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?

  1. Register as a 21YunBox member
  2. On Gitee Fork flask example
  3. Create a cloud service on 21YunBox, and allow 21YunBox to access your code base
  4. 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 specializes in helping foreign businesses to host their websites in China. We deliver everything you and your team needs to build, run, and scale websites and apps in China.


Talk to an Expert

Create Professional Solutions for Your Industry and Business

or