2024-03-29 17:50:13 +03:00
|
|
|
build-container:
|
|
|
|
$(MAKE) -C ./projects/$(project)/container build
|
|
|
|
|
|
|
|
remove-containers:
|
|
|
|
docker compose -f deploy/docker-compose.yaml down || true
|
|
|
|
docker stop $(project) anvil-node && docker rm $(project) anvil-node || true
|
|
|
|
|
|
|
|
build-multiplatform:
|
|
|
|
$(MAKE) -C ./projects/$(project)/container build-multiplatform
|
|
|
|
|
2024-03-29 17:49:24 +03:00
|
|
|
deploy-container:
|
2024-03-29 17:50:13 +03:00
|
|
|
$(MAKE) remove-containers
|
2024-03-29 17:49:24 +03:00
|
|
|
cp ./projects/$(project)/container/config.json deploy/config.json
|
2024-03-29 17:50:13 +03:00
|
|
|
docker compose -f deploy/docker-compose.yaml up -d
|
|
|
|
docker compose -f deploy/docker-compose.yaml logs -f
|
2024-03-29 17:49:24 +03:00
|
|
|
|
|
|
|
deploy-contracts:
|
|
|
|
$(MAKE) -C ./projects/$(project)/contracts deploy
|
|
|
|
|
|
|
|
call-contract:
|
|
|
|
$(MAKE) -C ./projects/$(project)/contracts call-contract
|
2024-03-29 17:50:13 +03:00
|
|
|
|
|
|
|
build-service:
|
|
|
|
$(MAKE) -C ./projects/$(project)/$(service) build
|
|
|
|
|
|
|
|
run-service:
|
|
|
|
$(MAKE) -C ./projects/$(project)/$(service) run
|