From 28e606ba51b88c05c281c8097e4d2090ce544706 Mon Sep 17 00:00:00 2001 From: Dave Hrycyszyn Date: Wed, 12 Jun 2024 15:07:03 +0100 Subject: [PATCH] Making note of the (finicky) watch run commands --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..62b1b2e --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +# Side + + + +## Running in development + +To init a Side node: + +```bash +cd side-node +cargo run -- init node1 +``` + +To start a node with a cargo watch for development purposes (from the side-node dir): + +```bash +cargo watch -x "run -- run -- node1" +``` + +To run the watcher: + +```bash +cd side-watcher +cargo watch -x run +```