Skip to content

Latest commit

 

History

History
56 lines (35 loc) · 977 Bytes

README.md

File metadata and controls

56 lines (35 loc) · 977 Bytes

Sapo Alimentícios

Ambiente com Docker Compose

Pré-requisitos

Executando os ambientes

$ docker-compose build
$ docker-compose up -d

Criar super usuário

$ docker-compose run --rm api python manage.py createsuperuser

Executando os testes do backend

$ docker-compose run --rm api python manage.py test

Executando os testes do frontend

$ docker-compose run --rm app npm run test

Carga inicial dos dados

$ docker exec -it api-sapo-alimenticios bash -c "cd /app/initial_data && python initial_data_import.py"

Acessando os ambientes

API

ENDPOINTS

Admin

APP