Finyeza ~ To shorten
- Run this command to create an App Engine application in your project
- It will ask you to select a region (choose the one closest to you).
gcloud app create --project=wfence-finyeza
This file tells App Engine how to run your app.
Install Gunicorn (a production-ready server for Flask):
pip install gunicorn
Generate requirements.txt:
pip freeze > requirements.txt
Now, deploy your app with:
gcloud app deploy
- It will ask for confirmation. Type Y and press Enter.
- The deployment will take a few minutes.
Once deployment is complete, open your app in a browser:
gcloud app browse
This will launch your live Hello World Flask app! 🎉
gcloud auth logingcloud projects listgcloud config set project <PROJECT_ID>gcloud config get-value projectgcloud app creategcloud app deploy
gcloud app browsecurl https://<PROJECT_ID>.appspot.com/gcloud app logs tail -s default
gcloud storage buckets list --filter="name:staging.<PROJECT_ID>.appspot.com"gcloud auth configure-docker gcr.io
gcloud auth application-default login