Skip to content

Commit

Permalink
update import import-db.py, export-db.py, docker-compose.prod.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegGsk committed Oct 3, 2024
1 parent 0fa84aa commit 039c13b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,5 @@ media/
# DS server
a_hockey-main/
adaptive_hockey_federation/service/test_video/

db_dump.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.core.management import call_command
from django.core.management.base import BaseCommand

from adaptive_hockey_federation.core.config.dev_settings import DB_DUMP_FILE
from core.config.dev_settings import DB_DUMP_FILE


class Command(BaseCommand):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from django.db import connection, transaction
from main.models import Diagnosis

from adaptive_hockey_federation.core.config.dev_settings import (
from core.config.dev_settings import (
FILE_MODEL_MAP,
FIXSTURES_DIR,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from django.core.management.base import BaseCommand
from django.db import connection

from adaptive_hockey_federation.core.config.dev_settings import DB_DUMP_FILE
from core.config.dev_settings import DB_DUMP_FILE


class Command(BaseCommand):
Expand Down
1 change: 1 addition & 0 deletions infra/prod/docker-compose.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ services:
volumes:
- static_value:/app/adaptive_hockey_federation/static/
- ../../media:/app/adaptive_hockey_federation/media/
- ../../fixtures:/app/adaptive_hockey_federation/core/fixtures/
env_file:
- ../../.env
depends_on:
Expand Down

0 comments on commit 039c13b

Please sign in to comment.