feat: init
This commit is contained in:
24
Makefile
Normal file
24
Makefile
Normal file
@@ -0,0 +1,24 @@
|
||||
.PHONY: recreate down restart rebuild script
|
||||
|
||||
recreate:
|
||||
docker compose --profile services up -d --force-recreate
|
||||
|
||||
down:
|
||||
docker compose --profile services down
|
||||
|
||||
restart:
|
||||
$(MAKE) recreate
|
||||
|
||||
deploy:
|
||||
$(MAKE) recreate
|
||||
$(MAKE) frontend
|
||||
|
||||
rebuild:
|
||||
docker compose build
|
||||
docker compose --profile services up -d
|
||||
|
||||
script:
|
||||
@cd backend && docker compose --profile scripts run --rm script-runner scripts/$(subst .,/,$(word 2,$(MAKECMDGOALS))).py $(wordlist 3,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))
|
||||
|
||||
%:
|
||||
@:
|
||||
Reference in New Issue
Block a user