Using Node-CLI
The Node client provides a CLI script that allows to install the software in few easy steps. It also provides support to perform some common tasks.
There is script node_cli for simplifying installation. It is asking questions and filling .env file properly. Based on you answers proper components will be activated. If you change your decision later, you can change these settings manually in .env file.
NOTE: Updating .env file manually is for advanced users. Node configuration description
Useful parameters
There are multiple parameters which are described in scripts help:
./node_cli.sh -h
Update images
– Docker will by default download images once. If you want to update images, you can run ./node_cli.sh -u
Reset node
– ./node_cli -r
will reset all locally saved data (Except back up, see below). Use only if you want to remove or migrate the node. Afterwards it is still needed to remove node in Auroral NM, unless you only plan to migrate the node to a different machine.
Backup and restore
Enables the migration of the node to a different machine or just to keep your data safe in case of docker issues.
See this entry for more info
Interactive mode
By default node is started in background (using docker-compose -d). If you want to run it in foreground, you can run node with command ./node_cli -i
**Stop node **
./node_cli -s
stops a node
Regenerating keys
./node_cli -k
regenerates public/private key and writes public key to terminal (for inserting to neighbourhood manager)
Brought to you by the AURORAL community, keep posted! 💪