Making note of the (finicky) watch run commands
This commit is contained in:
25
README.md
Normal file
25
README.md
Normal file
@@ -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
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user