You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,3 +24,19 @@ The `frontend` directory contains everything related to the Streamlit applicatio
24
24
-`frontend-service.yaml`: This is the Kubernetes configuration file for the frontend Service.
25
25
26
26
## Deployment
27
+
28
+
29
+
Para probar tu aplicación FastAPI localmente, sigue estos pasos:
30
+
31
+
1.**Instala las dependencias**: Ejecuta `pip install -r requirements.txt` en tu terminal para instalar las dependencias necesarias.
32
+
33
+
2.**Ejecuta la aplicación**: Ejecuta `uvicorn app.main:app --reload` en tu terminal para iniciar la aplicación. El parámetro `--reload` hace que el servidor se reinicie automáticamente cada vez que cambias algún archivo de código.
34
+
35
+
3.**Abre el navegador**: Ve a `http://localhost:8000` en tu navegador para ver tu aplicación en funcionamiento. También puedes ir a `http://localhost:8000/docs` para ver la documentación interactiva de Swagger UI para tu API.
36
+
37
+
Recuerda que debes estar en el directorio correcto en tu terminal cuando ejecutes estos comandos (debería ser el directorio que contiene tu archivo `main.py` y `requirements.txt`).
0 commit comments