Skip to content

Commit

Permalink
Adding new 'make' commands in Makefaile
Browse files Browse the repository at this point in the history
  • Loading branch information
AntiViruS90 committed Feb 3, 2025
1 parent fabf393 commit a405f6c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ load-db:
uv run python manage.py dbshell < dump_data/dump-hexlet-friends.sql

compose-load-db:
docker-compose exec db psql -U $POSTGRES_USER -d $POSTGRES_DB -f /app/dump_data/dump-hexlet-friends.sql
docker-compose run --rm db make load-db

compose-setup: compose-load-db

.PHONY: install setup shell lint test check start sync secretkey requirements.txt

0 comments on commit a405f6c

Please sign in to comment.