diff --git a/zen/tools/make_G1SSB_secret.sh b/zen/tools/make_G1SSB_secret.sh index 51762df..429fd4b 100755 --- a/zen/tools/make_G1SSB_secret.sh +++ b/zen/tools/make_G1SSB_secret.sh @@ -97,8 +97,8 @@ nodename=$(curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/zen/too if [[ ! $(which oasis) ]]; then echo "INSTALL.... http://$nodename" - echo "ENTER Station accessible Network name !!! Suggestion : $nodename" - read nodename +# echo "ENTER Station accessible Network name !!! Suggestion : $nodename" +# read nodename # Install nvm if [[ ! $(which node) || ! $(which npm) ]]; then curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash @@ -334,23 +334,26 @@ sleep 10 #sleep 7 # Intall Patchwork -## Brut way -## wget https://github.com/ssbc/patchwork/releases/download/v3.18.0/ssb-patchwork_3.18.0_amd64.deb -O /tmp/patchwork.deb -##sudo dpkg -i /tmp/patchwork.deb -npm install --global ssb-patchwork +wget https://github.com/ssbc/patchwork/releases/download/v3.18.0/ssb-patchwork_3.18.0_amd64.deb -O /tmp/patchwork.deb +sudo dpkg -i /tmp/patchwork.deb +sleep 1 +rm /tmp/patchwork.deb + +## npm install way +##npm install --global ssb-patchwork sleep 2 # Start Patchwork -ssb-patchwork & +[[ $(which ssb-patchwork) ]] && ssb-patchwork & || echo -e "${c_red}Patchwork is not installed" ~/.zen/astroport/zen/ssb_INIT.sh ~/.zen/astroport/zen/cron_VRFY.sh -echo "Finished... +echo -e "Finished... ######################################################################## -IF SOMETHING WENT WRONG REPORT AN ISSUE -https://git.p2p.legal/axiom-team/astroport/issues +${c_light}IF SOMETHING WENT WRONG REPORT AN ISSUE +https://git.p2p.legal/axiom-team/astroport/issues$c_ ######################################################################## MAKE SOME TEST @@ -367,6 +370,7 @@ silkaj balance $g1pub crontab -l 5. Test OASIS +WARNING: If tour installation is working on Pathwork, Oasis is disabled http://$nodename:3000 IF EVERYTHING IS OK @@ -375,8 +379,8 @@ oasis --allow-host $nodename --host $nodename THANK YOU. Now it is time to connect to your friends... -ADD ScuttleButt PUB Invitation (http://$nodename:3000/settings) -oasis.astroport.com:8008:@UeiA9iqZ0/XTjmYBht230KGr44bsr+Tl5BXSUDFv8vo=.ed25519~xfUSq/J2zLeFwrvvHie4iXI/GAzybUu7Zs9T7/PgZ+w= +6. ADD ScuttleButt PUB Invitation (With Oasis: http://$nodename:3000/settings) +${c_light}oasis.astroport.com:8008:@UeiA9iqZ0/XTjmYBht230KGr44bsr+Tl5BXSUDFv8vo=.ed25519~xfUSq/J2zLeFwrvvHie4iXI/GAzybUu7Zs9T7/PgZ+w= $c_ " exit 0