[bisq-network/bisq] Add Makefile for automating localnet setup (#3718)

Christoph Atteneder notifications at github.com
Fri Dec 6 14:03:13 UTC 2019


> @ripcurlx, your ACK is the required one. I know you were having some kind of issue with the Makefile on your side, I'd be happy to help you with that if you want to get it sorted before the merge.

@cbeams It would be great to understand why it is not working with the `screen` multiplexer in my case on macOS Catalina with Z shell(zsh).
```
make deploy
# create a new screen session named 'localnet'
screen -dmS localnet
# deploy each node in its own named screen window
for target in \
			bitcoind \
			seednode \
			seednode2 \
			alice \
			bob \
			mediator; do \
		screen -S localnet -X screen -t $target; \
		screen -S localnet -p $target -X stuff "make $target\n"; \
	done;
# give bitcoind rpc server time to start
sleep 5
# generate a block to ensure Bisq nodes get dao-synced
make block
bitcoin-cli \
		-regtest \
		-rpcuser=bisqdao \
		-rpcpassword=bsq \
		getnewaddress \
		| xargs bitcoin-cli \
				-regtest \
				-rpcuser=bisqdao \
				-rpcpassword=bsq \
				generatetoaddress 1
error: Could not connect to the server 127.0.0.1:18443
Make sure the bitcoind server is running and that you are connecting to the correct RPC port.
```
As using the targets in regular opened tabs works without any problems, I'll merge this PR  anyways.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/3718#issuecomment-562583086
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20191206/d9f2df35/attachment.html>


More information about the bisq-github mailing list