Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dakedroid/gcloud-appengine-python-flask
CODIGO DE FLASK PARA APP ENGINE PARA LEER PARAMETRO Y CONVERTIRLO CON UPPERCASE
https://github.com/dakedroid/gcloud-appengine-python-flask
Last synced: 10 days ago
JSON representation
CODIGO DE FLASK PARA APP ENGINE PARA LEER PARAMETRO Y CONVERTIRLO CON UPPERCASE
- Host: GitHub
- URL: https://github.com/dakedroid/gcloud-appengine-python-flask
- Owner: dakedroid
- License: apache-2.0
- Created: 2023-10-16T21:10:29.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-25T00:30:30.000Z (about 1 year ago)
- Last Synced: 2023-10-25T02:05:07.736Z (about 1 year ago)
- Language: HTML
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# google-app-engine-flask-example
Working through [Building a Python 3 App on App Engine tutorial](https://cloud.google.com/appengine/docs/standard/python3/building-app)TLDR: require an `app.yaml` then `gcloud services enable cloudbuild.googleapis.com` and finally `gcloud app deploy`. To view the app run `gcloud app browse` and to close and delete `gcloud projects delete MY-PROJ-ID`
# docker
Test app in docker
```
# Build
docker build -t test-flask-app .
# Run
docker run -p 5000:5000 test-flask-app:latest
```## References
- https://medium.com/@dmahugh_70618/deploying-a-flask-app-to-google-app-engine-faa883b5ffab## Local dev
Run locally and dev:
* `python3 -m venv venv`
* `source venv/bin/activate`
* `(venv) $ pip install -r requirements.txt`
* `(venv) $ python3 app.py`