Flask at first run: Do not use the development server in a production environment

可以将FLASK_ENV环境变量设置为开发模式:

export FLASK_ENV=development
flask run