forked from axiom-team/astroport
OASIS
This commit is contained in:
parent
56ad8b3375
commit
d355594284
|
@ -65,7 +65,6 @@ echo '
|
|||
/_/ /_/\____/\__,_/\___/ __/ /____/
|
||||
/___/
|
||||
|
||||
|
||||
'
|
||||
if [[ ! $(which node) ]]; then
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
|
||||
|
@ -74,6 +73,32 @@ if [[ ! $(which node) ]]; then
|
|||
nvm install --lts
|
||||
fi
|
||||
|
||||
echo "
|
||||
____ ___ _____ _________
|
||||
/ __ \/ | / ___// _/ ___/
|
||||
/ / / / /| | \__ \ / / \__ \
|
||||
/ /_/ / ___ |___/ // / ___/ /
|
||||
\____/_/ |_/____/___//____/
|
||||
|
||||
"
|
||||
nodename=$(cat /etc/hostname)
|
||||
extension=$(echo $nodename | cut -d '.' -f 2)
|
||||
if [[ $extension == $nodename ]]; then
|
||||
PUB="false"
|
||||
nodename=$nodename.local
|
||||
else
|
||||
PUB="true"
|
||||
fi
|
||||
if [[ ! $(which oasis) ]]; then
|
||||
echo "INSTALL...."
|
||||
npm install -g sodium-native ssb-backlinks ssb-ws ssb-links ssb-query ssb-secret-blob ssb-private
|
||||
npm -g install fraction/oasis#semver:
|
||||
else
|
||||
echo "Stopping OASIS"
|
||||
kill -9 $(ps auxf --sort=+utime | grep -w oasis | grep -v -E 'color=auto|grep' | tail -n 1 | awk '{print $2}')
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# INSTALL Silkaj, CLI for Duniter
|
||||
echo '**************************************************************
|
||||
|
@ -269,14 +294,7 @@ echo '
|
|||
|
||||
NEW IDENTITY ACTIVATED in ~/.ssb/secret
|
||||
|
||||
You can use Patchwork ScuttleButt Client.
|
||||
https://ahdinosaur.github.io/patchwork-downloader/
|
||||
|
||||
You can try others and report them to us ;P
|
||||
Maybe help making install script for them ;)
|
||||
|
||||
'
|
||||
sleep 5
|
||||
|
||||
echo '
|
||||
_________
|
||||
|
@ -287,7 +305,7 @@ echo '
|
|||
|
||||
IDENTITY CREATED in ~/.ssb/secret.dunikey
|
||||
|
||||
Install https://cesium.app and use it
|
||||
Install https://cesium.app to use it !!
|
||||
|
||||
'
|
||||
|
||||
|
@ -295,10 +313,8 @@ cat ~/.zen/secret.astroport.key
|
|||
|
||||
echo '
|
||||
|
||||
Enter "yes" to init Astroport Station...
|
||||
and join your #Swarm0 ScuttleButt IPFS Metaverse
|
||||
|
||||
ACTIVATE METAVERSE #SWARM0 INIT SEQUENCE ?
|
||||
Now you are going to join #Swarm0 IPFS Metaverse
|
||||
ACTIVATE METAVERSE #SWARM0 INIT SEQUENCE...
|
||||
ALPHA - ALPHA - ALPHA - ALPHA
|
||||
|
||||
'
|
||||
|
@ -327,7 +343,10 @@ rm -f .zen/secret.astroport.key
|
|||
|
||||
Submit issues: https://git.p2p.legal/axiom-team/astroport/issues
|
||||
Send ideas to support@qo-op.com
|
||||
|
||||
starting OASIS. http://$nodename:3000
|
||||
"
|
||||
oasis --allow-host $nodename --host $nodename &
|
||||
|
||||
exit 0
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue