Skip to content

Commit

Permalink
chore(make): added api-shell target
Browse files Browse the repository at this point in the history
  • Loading branch information
c0rydoras committed Sep 5, 2023
1 parent 2725d6f commit 7ff7a67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ api-lint: ## Lint the backend
api-lint-fix: ## Lint and fix the API
@docker compose run --rm api sh -c "black . && isort ."

.PHONY: api-shell
api-shell: ## Open django shell
@docker-compose exec api ./manage.py shell

.PHONY: api-start
api-start: ## Start the API
@docker compose up db api -d --build
Expand Down

0 comments on commit 7ff7a67

Please sign in to comment.