Monitors a Spacemesh Node
Or Read on Substack: https://open.substack.com/pub/hakedev/p/nodemon-windows-installation?r=2t6qg6&utm_campaign=post&utm_medium=web
git clone https://github.com/hakehardware/nodemon.git
cd nodemon
Make sure you have python-venv installed
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cp example.config.json config.json
For every node that you have, add a new entry. The name can be whatever you want. Public should be the IP and port for the public endpoints for grpc. Private should be the IP and port for the private endpoints for grpc.
You also need to update the config with a path to your state file. This should be a local path.
python3 app.py
If you want to update to the latest version, you can do so with git
git pull
Then make sure to install the latest requirements with
pip install -r requirements.txt