Flask Gunicorn找不到应用程序 、、 我正在使用Flask创建一个应用程序。直接用Python运行时一切正常,但我想把它托管在Heroku上,所以我需要弄清楚如何使用Gunicorn。我遇到的问题是,因为app.py不在我的根文件夹中,所以不能通过简单地输入gunicorn app或类似的东西来运行它。 ├── static├── Proc
When the app is deployed to Google Cloud Platform, it uses the Gunicorn server. Gunicorn doesn't serve static content, so the app uses Cloud Storage to serve static content. Create a Cloud Storage bucket and make it publicly readable. Replace<your-gcs-bucket>with a bucket name we like. Fo...