Skip to content

Commit

Permalink
Configurado grupo dev como optional no poetry
Browse files Browse the repository at this point in the history
close #10
  • Loading branch information
renzon authored and renzon committed Jul 10, 2024
1 parent cfc0873 commit c44f132
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Nessa pasta se encontram os arquivos de backend do projeto Django.

Será usado o Poetry como gestor pacotes.

Por isso, para instalar o projeto, dentro das pasta backend rode
Por isso, para instalar o projeto com as dependência de desenvolvimento, dentro das pasta backend rode

```bash
poetry install --sync
poetry install --with dev
```

Para rodar seu servidor Django ative o ambiente virtual:
Expand Down
8 changes: 4 additions & 4 deletions backend/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ python = "^3.12"
django = ">4"


[tool.poetry.group.dev]
optional = true

[tool.poetry.group.dev.dependencies]
pytest = "^8.2.2"
pytest-django = "^4.8.0"
Expand Down

0 comments on commit c44f132

Please sign in to comment.