activation #Swarm0 Astroport Station

This commit is contained in:
qo-op 2020-05-04 19:30:17 +02:00
parent 8393b79170
commit 32c0e38310
2 changed files with 40 additions and 29 deletions

View File

@ -46,7 +46,7 @@ curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/.install/ipfs_alon
```
SystemD ARM & x86_64 compatible. Submit an issue for your Arch.
SystemD ARM & x86_64 compatible. PLEASE Add you yet unsupported Arch ;)
2 - **Create your “secret” 🔑 (and secret.dunikey) from credentials to benefit extra features 🛸**

View File

@ -29,22 +29,24 @@ I encourage you to read any code you download.
This one is not perfect, but will not harm your system...
Install IPFS (compatible with ARM and X64)
curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/.install/ipfs_alone.sh -o /tmp/ipfsA.sh
chmod +x /tmp/ipfsA.sh
/tmp/ipfsA.sh
curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/.install/ipfs_alone.sh | bash
HIT ENTER TO CONTINUE
'
read letsgo
[[ ! $(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) ]] && echo "ipfs daemon not running. EXIT" && exit 1
# "ipfs daemon" MUST be RUNNING
[[ ! $(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) ]] \
&& echo "EXIT! PLEASE INSTALL & RUN ipfs daemon WITH curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/.install/ipfs_alone.sh | bash " \
&& exit 1
# git & astroport code in ~/.zen
# ~/.zen is ASTROPORT living place.
[[ ! -d ~/.zen/astroport ]] && mkdir -p ~/.zen/astroport
# IS git THERE ?
[[ ! $(which git) ]] && sudo apt install git -y
# USE git pull OR git clone
if [[ -f ~/.zen/astroport/install.sh ]]; then
cd ~/.zen/astroport && git pull
else
@ -53,7 +55,7 @@ else
fi
cd ~/.zen/astroport
# LETS GO
# Install nvm
echo '
__ _
@ -166,10 +168,14 @@ cd ~/.ssb/
echo '>>>>>>> METAVERSE KEY CREATION <<<<<<<<
__ __ __ _
/__ /| (_ (_ |_)
\_| | __) __) |_)
__ __ ____
__/ // /_______ ______ __________ ___ / __ \
/_ _ __/ ___/ | /| / / __ `/ ___/ __ `__ \/ / / /
/_ _ __(__ )| |/ |/ / /_/ / / / / / / / / /_/ /
/_//_/ /____/ |__/|__/\__,_/_/ /_/ /_/ /_/\____/
KEY
CHOOSE YOU LOGIN (best more than 6 words)...
or LEAVE BLANK and HIT ENTER FOR diceware AUTO GENERATION
'
@ -194,7 +200,7 @@ echo "........."
# [[ -f ~/.zen/secret.astroport.key ]] && echo "Your identity is already existing..." && cat ~/.zen/secret.astroport.key && exit 1
rm -f ~/.zen/secret.astroport.key
echo "# ASTROPORT SECRET CREDENTIALS !!!
echo "# ASTROPORT #SWARM0 KEY SECRET CREDENTIALS !!!
ZENID=\"$salt\"
ZENPWD=\"$pepper\"" > ~/.zen/secret.astroport.key
@ -253,11 +259,13 @@ echo '
(__ |__ ) /_/ /
/____/____/_.___/
Use Patchwork ScuttleButt Client.
NEW IDENTITY ACTIVATED in ~/.ssb/secret
You can use Patchwork ScuttleButt Client.
https://ahdinosaur.github.io/patchwork-downloader/
Or any oher you could know (please report it to us)
Help us making install script ;)
You can try others and report them to us ;P
Maybe help making install script for them ;)
'
sleep 5
@ -269,19 +277,23 @@ echo '
/ /_/ // /
\____//_/
Install https://cesium.app on your Desktop or Smartphone.
IDENTITY CREATED in ~/.ssb/secret.dunikey
Install https://cesium.app and use it
'
cat ~/.zen/secret.astroport.key
echo '
ACTIVATE INIT SEQUENCE ?
Enter "yes" to install cron TASK and init Astroport Station...
Your node will sync ipfs swarm with your ssb friends running ASTROPORT project
Enter "yes" to init Astroport Station...
and join your #Swamr0 ScuttleButt IPFS Metaverse
Do you want to continue? Enter yes!
ACTIVATE METAVERSE INIT SEQUENCE ?
ALPHA - ALPHA - ALPHA - ALPHA
Enter "yes" before hitting ENTER
Do you want to continue?
'
read yesno
@ -293,17 +305,16 @@ fi
echo "Finished...
########################################################################
EVERYTHING SHOULD BE ALRIGHT?
Please try ASTROPORT basic commands and verify install, type:
1. sbotc whoami
2. ipfs id
3. silkaj balance $g1pub
4. crontab -l
!!!! PLEASE TEST THAT EVERYTHING IS ALRIGHT !!!!
Please try ASTROPORT basic commands:
1. Test IPFS : ipfs id
2. Test SSB : sbotc whoami
3. Test G1 : silkaj balance $g1pub
4. Test #Swarm0 : crontab -l
You should see 'astroport/zen/cron_MINUTE.sh' in last one.
if you miss to answer 'yes' to init sequence...
Activate your Astroport Station:
Manual activation #Swarm0 Astroport Station:
~/.zen/astroport/zen/cron_VRFY.sh
~/.zen/astroport/zen/ssb_INIT.sh