This commit is contained in:
qo-op 2020-04-28 20:06:10 +02:00
parent e7afc34f5a
commit 8745f21fad
2 changed files with 17 additions and 5 deletions

View File

@ -6,6 +6,8 @@ scuttlebutt() {
BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
if [[ ! $where_is_ssb_installed ]]; then
# BRUTAL WAY... TODO soften
killall node
# Install dependencies
sudo apt-get install -y socat python3-dev libtool python3-setuptools autoconf automake
@ -62,7 +64,7 @@ scuttlebutt() {
if [[ $extension == $nodename ]]; then
nodename=$nodename.local
nodename=$nodename.home
# LOCAL
cat > ~/.ssb/config <<EOF
{
@ -128,6 +130,12 @@ cat > ~/.zen/run-ssb_server.sh <<EOF
echo _$ > ~/.zen/ssb.pid.bash
while true; do
ssb-server start --host $nodename
# IF ANY PROBLEM CHANGE TO
# ssb-daemon
# MANAGE WITH OASIS http://$nodename:3000
# oasis --allow-host $nodename --host $nodename
echo _! > ~/.zen/ssb.pid
done
EOF
@ -154,10 +162,13 @@ __)|_| \ \/ |_| \ || || |_ ... SCUTTLEBUTT ... OK?
'
echo "DOES SCUTTELBUTT IS RUNNING FINE?"
echo "Then add $HOME/.zen/run-ssb_server.sh & TO YOUR '/etc/rc.local' !!! "
echo "CHECK and ADD $HOME/.zen/run-ssb_server.sh & TO '/etc/rc.local' !!! "
echo "OASIS NODE MANAGER http://$nodename:3000"
oasis --allow-host $nodename --host $nodename &
# TODO: Protect behind nginx redirect !!!
echo "WAIT 10 seconds before ssb_INIT.sh"
sleep 10
sleep 10
$MY_PATH/zen/ssb_INIT.sh
}

View File

@ -29,6 +29,7 @@ It's using:
- Libre currency Duniter/Ḡ1 as monetary layer
## Installation
**WARNING: This is an alpha stage development! Please try... Open issues and help corrections**
@qo-op
```
@ -36,7 +37,8 @@ mkdir -p ~/.Z && cd ~/.Z
git clone https://git.p2p.legal/axiom-team/astroport.git && cd astroport
./install.sh
```
It takes care of making backup and should run safe to your system now
You could have run it twice and answer "scuttlebutt" if it is missing.
@poka
```
@ -44,7 +46,6 @@ curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/git-install.sh | b
./install.sh # Can have argument to specific gate, or script ask which gate do you want interactively.
```
**WARNING: This is an early stage develepment, use it with great care!**
MAIN ENTRANCE BUILD UP
[![](https://pad.p2p.legal/uploads/upload_ac0f943cd66fe8a20925151063a7e78a.jpg)](https://astroport.frama.site/)