2020-03-18 05:06:01 +01:00
|
|
|
#!/bin/bash
|
2020-03-18 15:49:46 +01:00
|
|
|
|
2020-05-15 22:02:32 +02:00
|
|
|
# Check requierments
|
2020-05-17 19:50:29 +02:00
|
|
|
{
|
2020-05-19 20:43:35 +02:00
|
|
|
|
2020-05-15 22:02:32 +02:00
|
|
|
sudo apt update
|
|
|
|
sudo apt install curl net-tools -y
|
2020-03-18 05:06:01 +01:00
|
|
|
|
2020-05-19 20:43:35 +02:00
|
|
|
gitpath="https://git.p2p.legal/axiom-team/astroport/raw/master"
|
|
|
|
|
|
|
|
echo "Add colors ..."
|
|
|
|
curl -s $gitpath/.install/export_colors.sh | bash || exit 1
|
|
|
|
[[ -n $(grep ".bash_aliases" ~/.bashrc) ]] && echo ". ~/.bash_aliases" ~/.bashrc
|
|
|
|
|
2020-05-15 22:02:32 +02:00
|
|
|
echo "${c_green}Astroport installer
|
|
|
|
###
|
|
|
|
1. IPFS Swarm Layer$c_"
|
|
|
|
# Full automatic (you trust this git depot)
|
2020-05-19 20:43:35 +02:00
|
|
|
curl -s $gitpath/.install/ipfs_alone.sh | bash || exit 1
|
|
|
|
|
|
|
|
# Set environment variables
|
|
|
|
curl -s $gitpath/.install/sys_checkOS.sh noexec | bash || exit 1
|
2020-05-06 17:32:52 +02:00
|
|
|
|
2020-05-15 22:02:32 +02:00
|
|
|
echo "${c_green}2. Ḡ1/ScuttleButt anoptical layer$c_"
|
|
|
|
# ONCE YOU READ and AGREE. Run TrustFull QUICK Install !!
|
2020-05-19 20:43:35 +02:00
|
|
|
curl -s $gitpath/zen/tools/make_G1SSB_secret.sh | bash || exit 1
|
2020-03-18 05:06:01 +01:00
|
|
|
|
2020-05-15 22:02:32 +02:00
|
|
|
echo "${c_green}Installation complete$c_"
|
2020-05-19 20:43:35 +02:00
|
|
|
|
|
|
|
exec bash
|
|
|
|
|
2020-05-17 19:50:29 +02:00
|
|
|
}
|