-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Problem Statement
Requisitos:
- Lenguaje: Python 3.11.
- Framework web: Streamlit.
- Funcionalidad mínima: Mostrar 'Hello World' y permitir ingresar un nombre para saludar ("Hola, ").
- Estructura propuesta:
/app.py
/service/init.py
/service/greeting.py (función greet(name: str) -> str )
/tests/test_greeting.py
/requirements.txt (streamlit==, pytest)
/Dockerfile
/Makefile
/README.md - Dockerfile: usar python:3.11-slim, crear venv opcional o instalar directamente, ejecutar streamlit.
- Puerto: 8501 (por defecto de Streamlit).
- Logging básico en greeting (INFO cuando se saluda).
- Makefile targets: install (pip install -r requirements.txt), run (streamlit run app.py), test (pytest -q), docker-build, docker-run.
- README: instrucciones rápidas (instalación, ejecución local, docker, tests).
- Mantener código y documentación mínimas sin redundancia.
- Añadir .gitignore para Python, venv, pycache, .pytest_cache, .DS_Store.
- Preparado para extender luego (microservicio futuro) => estructura clara.
- Evitar dependencias innecesarias.
- Licencia MIT corta.
Objetivo: Entregar repo listo para clonar y mostrar en demo en menos de 1 minuto.
This issue will be handled by a GitHub Copilot Remote Agent.