This page documents the setup script for configuring a Saito Rust node. The script automates the otherwise process of configuring the environment, managing configuration files, installing dependencies, and starting the node. It is provided here as a reference.
To execute the script, navigate to /saito/rust/saito-rust/scripts 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 installation page.
Creates an issuance file from a template if one is missing. The issuance file specifies which addresses receive tokens in the first block. After this block, no additional tokens may be added to the network.
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.shbootstrap_mac.shThese scripts check for and installs missing dependencies required for the Saito Rust project on Linux or Mac systems. They include checks for Rust installation, updates package lists, and installs various development tools and libraries.