Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
docs(installation): add instructions on README
Browse files Browse the repository at this point in the history
  • Loading branch information
thegm445 committed Oct 10, 2023
1 parent ee6079d commit 42b75d3
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,27 @@
# 2023-2-Squad06

# Guia de instalação

## Resumo

Para a instalação e a operação corretas, deve se ter instalado na máquina:
- Python versão 3.11.5
- Poetry versão 1.6.1

Após verificar quanto aos requisitos acima, rode estes comandos:

- `poetry install`
- Se necessárias dependências de documentação, `poetry install --with docs`
- Para instalar Git Hooks:
```bash
poetry run pre-commit install \
--hook-type commit-msg \
--hook-type pre-commit \
--hook-type pre-push
```
- Gerar o arquivo config `poetry run ./bin/create-env`
- Para finalizar a instalação e conseguir visualizar a página:

- `docker compose build && docker compose up -d`
- `docker compose run django python manage.py migrate`
- `docker compose run django python manage.py createsuperuser`

0 comments on commit 42b75d3

Please sign in to comment.