Skip to content
Snippets Groups Projects
Commit e3aa0617 authored by Bernardo Cardoso's avatar Bernardo Cardoso
Browse files

Add makefile and binaries to run local dev network

parent 81b33be1
Branches
No related tags found
No related merge requests found
......@@ -3,3 +3,7 @@
# Packages
*/node_modules
# Local network
localnet/db
localnet/chain.log
OS:=$(shell uname -s)
BINPATH:="./bin/xxnetwork-chain-darwin"
ifeq ($(OS),Linux)
BINPATH:="./bin/xxnetwork-chain-linux"
endif
run:
@rm -rf db chain.log
$(BINPATH) --alice --chain xxnetwork-dev --base-path ./db --rpc-cors all >> ./chain.log 2>&1 &
stop:
@kill -9 `ps aux | grep "xxnetwork-chain" | grep -v grep | awk '{print $$2}'` &> /dev/null || true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment