/django-postgres-docker

django-postgres-docker

Primary LanguagePython

Run

docker-compose up -d
docker-compose down

Userful Docker Comands

Running Management commands inside a docker container

Locate The Container

docker ps

Logging Into The Container

docker exec -it {container_id} bash

Running the command

cd folder
python manage.py makemigration