Skip to content

Commit

Permalink
Add make commands related to managing docker
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubtobiasz committed Oct 21, 2024
1 parent 413e26b commit 27b4b2f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
setup:
@echo "Setting up project..."
@make docker.up
@make backend.setup
@make frontend.setup

docker.up:
@echo "Starting docker..."
@docker compose up -d

docker.stop:
@echo "Stopping docker..."
@docker compose stop

docker.down:
@echo "Stopping and removing docker..."
@docker compose down

backend.setup:
@echo "Setting up backend..."
@docker compose exec php composer install
Expand Down

0 comments on commit 27b4b2f

Please sign in to comment.