Commit c31e087e by Jaime Collado

README updated

parent db15d94e
Showing with 1 additions and 1 deletions
......@@ -10,7 +10,7 @@ Esta API está siendo desarrollada y probada con la versión de Python 3.10.11.
1. Crear un entorno virtual: `python3 -m venv /path/to/environment`
2. Activar el entorno virtual: `source /path/to/environment/bin/activate`
3. Instalar las bibliotecas necesarias: `pip install -r /path/to/requirements.txt`
4. Lanzar el servicio: `python main.py [-h] [--host HOST] [--port PORT]`
4. Lanzar el servicio: `python app/main.py [-h] [--host HOST] [--port PORT]`
5. Probar que funciona accediendo (por defecto) a: http://localhost:8000/docs
Nota: La API también puede ser lanzada mediante el comando `uvicorn api:app [--host HOST] [--port PORT] [--reload]`. Esto (--reload) es útil durante el desarrollo para no tener que cancelar y relanzar el proceso cada vez que se edite alguna parte del código.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment