/books

Coding Example from "Django for Professionals" by William S. Vincent

Primary LanguagePython

Bookstore

Coding Example from "Django for Professionals" by William S. Vincent

Getting-Started

Requirements:

  • docker
  • docker-compose

From the root directory execute:

docker-compose -f docker-compose-local.yml up -d --build

Then, we need to make migrations:

docker-compose -f docker-compose-local.yml exec web python /code/app/manage.py makemigrations
docker-compose -f docker-compose-local.yml exec web python /code/app/manage.py migrate

Create superuser

docker-compose -f docker-compose-local.yml exec web python /code/app/manage.py createsuperuser