This is a basic template for Django projects configured to use Docker Compose, Makefile, and PostgreSQL.
-
Clone the repository:
git clone https://github.com/your_username/your_repository.git cd your_repository
-
Install all required packages in
Requirements
section.
make app
- up application and database/infrastructuremake app-logs
- follow the logs in app containermake app-down
- down application and all infrastructuremake app-shell
- go to contenerized interactive shell (bash)
make migrations
- make migrations to modelsmake migrate
- apply all made migrationsmake collectstatic
- collect staticmake superuser
- create admin usermake test
- test application with pytest