Quick help? Anyone can help me build safe from main branch?

what are the command to build from main as there is a new bug fixed in main but no release yet?

will these commands build main? source @aatonnomicc

sudo apt -qq update >/dev/null
sudo apt -qq install -y snapd build-essential moreutils tree >/dev/null
sudo snap install curl
sudo snap install rustup --classic
rustup toolchain install stable


mkdir -p \
	$HOME/github-tmp \
	$HOME/.safe/cli \
	$HOME/.safe/node

git clone https://github.com/maidsafe/safe_network.git ~/github-tmp/
cd ~/github-tmp
cargo build --release
cp ~/github-tmp/target/release/safe ~/.safe/cli/
cp ~/github-tmp/target/release/sn_node ~/.safe/node/
tree  $HOME/.safe

PATH=$PATH:/$HOME/.safe/cli
2 Likes

Yes. Main is the default so building main just means clone and build.

3 Likes

great thanks for fast confirmation!!! will have a dreamnet with a script for building from source so people can join with one command!

4 Likes

I don’t want to hold off dreamnet, but I just did this in case it helps folk get going:

5 Likes

great thank you @joshuef I will post in that thread with my scripts to automate the joining as a node thing!

5 Likes