diff --git a/.install/scuttlebutt.sh b/.install/scuttlebutt.sh index 2a05b55..098e8a8 100755 --- a/.install/scuttlebutt.sh +++ b/.install/scuttlebutt.sh @@ -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 < ~/.zen/run-ssb_server.sh < ~/.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 } diff --git a/README.md b/README.md index b8cec8c..ddd75f3 100644 --- a/README.md +++ b/README.md @@ -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/)