Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 603 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 603 Bytes

django_ninja_tutorial

Django Ninja with SQLite Basic CRUD API for Employees and Department using Django Ninja. Deployed using Granian Server

Docker Compose Commands

Get running containers:

docker ps

Build and Run in detached mode:

docker compose up --build -d

To enter Bash Shell for migrating db changes or static files

docker exec -it bash

To view logs of container. You can pass head to view first N lines or tail to view last N lines specified by argument after head/tail

docker logs --tail 1000 -f