Skip to content

Commit de7772f

Browse files
committed
docs: enhancement
1 parent 9105b03 commit de7772f

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

‎README.md‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -217,12 +217,10 @@ Caso prefira utilizar o fluxo tradicional com `pip` e `venv`, execute dentro da
217217
python -m venv .venv
218218
source .venv/bin/activate
219219
python -m pip install --upgrade pip
220-
pip install -r requirements.txt
221-
python app.py
220+
pip install -e .[dev]
221+
python src/main.py
222222
```
223223

224-
> **Nota:** No projeto atual, caso nao possua um `requirements.txt`, voce pode instalar as dependencias via `pyproject.toml` usando `pip install -e .[dev]`, e o ponto de entrada principal e `python src/main.py`.
225-
226224
### Passo a passo detalhado
227225

228226
#### 1. Criar o ambiente virtual
@@ -263,13 +261,13 @@ Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
263261

264262
```bash
265263
python -m pip install --upgrade pip
266-
pip install -r requirements.txt
264+
pip install -e .[dev]
267265
```
268266

269-
Ou diretamente pelo `pyproject.toml` com dependencias de desenvolvimento:
267+
Para instalar apenas as dependencias de producao:
270268

271269
```bash
272-
pip install -e .[dev]
270+
pip install .
273271
```
274272

275273
#### 4. Subir a API localmente

0 commit comments

Comments
 (0)