Skip to content

Commit

Permalink
make targets to run devnet from project root
Browse files Browse the repository at this point in the history
  • Loading branch information
nonsense committed Mar 2, 2023
1 parent 0adea5a commit c94249f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -255,3 +255,13 @@ docker/booster-bitswap:
docker/all: $(lotus_build_cmd) docker/boost docker/booster-http docker/booster-bitswap \
docker/lotus docker/lotus-miner
.PHONY: docker/all

devnet/up:
rm -rf ./docker/devnet/data && docker compose -f ./docker/devnet/docker-compose.yaml up -d

devnet/down:
docker compose -f ./docker/devnet/docker-compose.yaml down --rmi=local && sleep 3 && rm -rf data

process?=/bin/bash
devnet/exec:
docker compose -f ./docker/devnet/docker-compose.yaml exec $(service) $(process)

0 comments on commit c94249f

Please sign in to comment.