- Name: Juan Vicente Herrera Ruiz de Alejo
- GitHub: @juanviz
- Role: Author and Maintainer
- Affiliation: ICAI
This project is licensed under the MIT License - see the MIT License for details.
This is a simple Python Flask application that converts an amount from euros to dollars using a web interface.
Run the server with:
python main.pyThen open your browser at http://127.0.0.1:5000/ and use the interface to perform conversions.
To run the app, install dependencies with:
pip install -r requirements.txt- Install Google Cloud SDK and authenticate:
gcloud init- If not present, create
app.yamlwith contents similar to:
runtime: python311
entrypoint: gunicorn -b :$PORT main:app
env_variables:
PORT: 8080- Make sure
requirements.txtincludes Flask and gunicorn:
flask
gunicorn- Test locally:
gcloud app browse --local-host=127.0.0.1:8080- Deploy to App Engine:
gcloud app deploy --quiet --project=${PROJECT_ID}- Open the application at the App Engine URL printed by the deploy command.
This project is distributed under the MIT License.