This documentation covers the setup script for configuring a Saito Rust node. The script automates the process of configuring the environment, managing configuration files, installing dependencies, and starting the node.
For executing the script, navigate to the script directory and launch initial_setup.sh
The script performs the following main tasks:
Automatically configures the node. For manual node configuration instructions, please see saito-rust-config
Creates an issuance file from a template if it's missing.
Key Operations:
Detects the operating system (macOS or Linux) and runs the corresponding bootstrap script (bootstrap_mac.sh or bootstrap_linux.sh). These scripts are responsible for installing necessary software packages, ensuring Rust is installed, and setting up the environment for the Saito Rust project.
Key Operations:
Prompts the user to start the node immediately after setup. If the user agrees, it starts the node
bootstrap_linux.sh
bootstrap_mac.sh
These scripts checks for and installs missing dependencies required for the Saito Rust project on Linux or mac systems. It includes checks for Rust installation, updates package lists, and installs various development tools and libraries.