An open API service indexing awesome lists of open source software.

https://github.com/codeedu/maratona3-iniciando-com-django


https://github.com/codeedu/maratona3-iniciando-com-django

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          



## Descrição

Como iniciar com projeto Django com Docker

### Para Windows

Lembrar de instalar o WSL2 e Docker. Vejo o vídeo: [https://www.youtube.com/watch?v=g4HKttouVxA](https://www.youtube.com/watch?v=g4HKttouVxA)

Siga o guia rápido de instalação: [https://gist.github.com/argentinaluiz/6bff167be40a2bf7a6bb879062cd25cd](https://gist.github.com/argentinaluiz/6bff167be40a2bf7a6bb879062cd25cd)

## Instalação

* Crie o volume do PostgreSQL
``` bash
docker volume create iniciando-django-pgdata
```
* Execute o projeto com o Docker:
``` bash
docker-compose up
```

## Rodar o projeto

* Acesse http://localhost:8000 para acessar o Django
* Acesse http://localhost:9000 para acesso o PgAdmin