+
Skip to content

angelacpd/books

Repository files navigation

Books

  • Build a Bookstore with Django web framework.
  • Add PostgreSQL database
  • Run with Docker.

Based on Chapter 3 of book Django for Professionals: https://wsvincent.com/books/

Commands to run this project

Build docker image and start container

docker-compose up -d --build

[ Build docker image

docker build .

Start container (detached)

docker-compose up -d

Apply migrations

docker-compose exec web python manage.py migrate ]: #

Run automated tests

docker-compose exec web python manage.py test

Create Django superuser

docker-compose exec web python manage.py createsuperuser

Log in Django admin with the superuser credentials

http://localhost:8000/admin/

Stop container

docker-compose down

About

Bookstore using Django, Postgres database and Docker.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载