dakedroid / gcloud-appengine-python-flask

CODIGO DE FLASK PARA APP ENGINE PARA LEER PARAMETRO Y CONVERTIRLO CON UPPERCASE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

google-app-engine-flask-example

Working through Building a Python 3 App on App Engine tutorial

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

Local dev

Run locally and dev:

  • python3 -m venv venv
  • source venv/bin/activate
  • (venv) $ pip install -r requirements.txt
  • (venv) $ python3 app.py

About

CODIGO DE FLASK PARA APP ENGINE PARA LEER PARAMETRO Y CONVERTIRLO CON UPPERCASE

License:Apache License 2.0


Languages

Language:HTML 41.5%Language:Python 32.0%Language:Dockerfile 26.5%