fix patchwork

This commit is contained in:
poka 2020-06-04 14:41:15 +02:00
parent 83e93dafd9
commit 84be32ae06
1 changed files with 16 additions and 12 deletions

View File

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