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

Justin Carter notifications at github.com
Sat Nov 30 06:39:56 UTC 2019


bodymindarts commented on this pull request.



> +# Deploy a complete localnet by running all required Bitcoin and Bisq
+# nodes, each in their own named screen window. If you are not a screen
+# user, you'll need to run each of the make commands manually in a
+# separate terminal or as a background job.
+#
+# NOTE: You MUST already be attached to a screen session for the
+# following commands to work properly.
+deploy: setup
+	screen -t bitcoin make bitcoind
+	sleep 2    # wait for bitcoind rpc server to start
+	make block # generate a block to ensure Bisq nodes get dao-synced
+	screen -t seednode make seednode
+	screen -t seednode2 make seednode2
+	screen -t alice make alice
+	screen -t bob make bob
+	screen -t mediator make mediator

Yeah that is why in the original [bisq-workspace](https://github.com/bodymindarts/bisq-workspace) I start bitcoind with a script that doesn't complete [until bitcoind is responsive](https://github.com/bodymindarts/bisq-workspace/blob/master/scripts/start_bitcoind.sh#L39-L49).

-- 
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#discussion_r352269780
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20191129/f47289f3/attachment.html>


More information about the bisq-github mailing list