Skip to content

Commit

Permalink
Merge pull request #484 from Hexlet/sql-dump-for-repo
Browse files Browse the repository at this point in the history
Sql dump for repo
  • Loading branch information
fey authored Feb 3, 2025
2 parents 6da2a17 + a405f6c commit d7946d8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dump_data/dump-hexlet-friends.sql filter=lfs diff=lfs merge=lfs -text
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,12 @@ erd-in-png: erd-dot
erd-in-pdf: erd-dot
dot -Tpdf erd.dot -o erd.pdf

load-db:
uv run python manage.py dbshell < dump_data/dump-hexlet-friends.sql

compose-load-db:
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
3 changes: 3 additions & 0 deletions dump_data/dump-hexlet-friends.sql
Git LFS file not shown

0 comments on commit d7946d8

Please sign in to comment.