Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我写了烧瓶网络,我通过运行像'python src/run.py'这样的服务器来测试它</p>
现在最近我决定使用flask cli 方法。
所以我做了'export FLASK_APP=src/run.py'</p>
然后“烧瓶运行”它会在默认情况下以 5000 启动 Web 应用程序,但在浏览器中没有打开任何内容。
我没有收到任何错误。我是否必须创建 FlaskGroup 才能显式创建 flask cli run 命令?