Skip to content

Commit

Permalink
for test
Browse files Browse the repository at this point in the history
  • Loading branch information
blizard-sis committed Dec 18, 2023
1 parent 6c68d4a commit 15427c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ MANAGE_DIR := $(PROJECT_DIR)/adaptive_hockey_federation/manage.py
DJANGO_DIR := $(PROJECT_DIR)/adaptive_hockey_federation
POETRY_RUN := poetry run python
DJANGO_RUN := $(POETRY_RUN) $(MANAGE_DIR)
COMPOSE_DEV_RUN := docker-compose -f $(PROJECT_DIR)/adaptive_hockey_federation/infra/dev/docker-compose.dev.yamlup -d
SHELL_GREEN = \033[32m
SHELL_YELLOW = \033[33m
SHELL_NC := \e[0m
Expand Down Expand Up @@ -56,7 +57,7 @@ createsuperuser:

# Локальный запуск сервера разработки.
run:
cd $(PROJECT_DIR) && $(DJANGO_RUN) runserver
cd $(PROJECT_DIR) && $(COMPOSE_DEV_RUN) && $(DJANGO_RUN) runserver


# Заполнение базы данных с помощью парсера.
Expand Down
4 changes: 4 additions & 0 deletions infra/dev/docker-compose.dev.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#filename: docker-compose.dev.yaml
#full path: ./infra/dev/docker-compose.dev.yaml
#description: docker-compose file for development environment

version: '3.8'
name: ahf_dev

Expand Down

0 comments on commit 15427c4

Please sign in to comment.