diff --git a/.install/scuttlebutt.sh b/.install/scuttlebutt.sh index eb805b9..b394f4f 100755 --- a/.install/scuttlebutt.sh +++ b/.install/scuttlebutt.sh @@ -90,7 +90,7 @@ scuttlebutt() { } EOF -cat > ~/.zen/run-ssb_$nodename.sh < ~/.zen/run-ssb_server.sh < ~/.zen/ssb.pid.bash while true; do @@ -99,8 +99,8 @@ while true; do done EOF # REPLACE _ with $ -sed -i s/_/\$/g ~/.zen/run-ssb_$nodename.sh -chmod 755 ~/.zen/run-ssb_$nodename.sh +sed -i s/_/\$/g ~/.zen/run-ssb_server.sh +chmod 755 ~/.zen/run-ssb_server.sh ssb-server start & @@ -136,7 +136,7 @@ ssb-server start & } EOF -cat > ~/.zen/run-ssb_$nodename.sh < ~/.zen/run-ssb_server.sh < ~/.zen/ssb.pid.bash while true; do @@ -145,8 +145,8 @@ while true; do done EOF # REPLACE _ with $ - sed -i s/_/\$/g ~/.zen/run-ssb_$nodename.sh - chmod 755 ~/.zen/run-ssb_$nodename.sh + sed -i s/_/\$/g ~/.zen/run-ssb_server.sh + chmod 755 ~/.zen/run-ssb_server.sh ssb-server start --host $nodename & @@ -167,7 +167,7 @@ __)|_| \ \/ |_| \ || || |_ ... SCUTTLEBUTT ... OK? ' echo "DOES SCUTTELBUTT IS RUNNING FINE?" - echo "Then add $HOME/.zen/run-ssb_$nodename.sh & TO YOUR '/etc/rc.local' !!! " + echo "Then add $HOME/.zen/run-ssb_server.sh & TO YOUR '/etc/rc.local' !!! " } $@ diff --git a/zen/readme.md b/zen/readme.md new file mode 100644 index 0000000..12efc07 --- /dev/null +++ b/zen/readme.md @@ -0,0 +1,35 @@ +# IPFS FILESYSTEM STRUCTURE + +``` +# ssb_INIT.sh +~/.zen/ipfs/.$ipfsnodeid/G1SSB/_ssb.whoami +~/.zen/ipfs/.$ipfsnodeid/G1SSB/_g1.pubkey +~/.zen/ipfs/.$ipfsnodeid/G1SSB/_g1.qrcode.png + +# zen_MAKE.sh +~/.zen/ipfs/.$ipfsnodeid/TAG/${J} +~/.zen/ipfs/.$ipfsnodeid/TAG/${J}/_tag.uid +~/.zen/ipfs/.$ipfsnodeid/TAG/${J}/_tag.passenger.filename +~/.zen/ipfs/.$ipfsnodeid/TAG/${J}/_tag.passenger.metadata.json + +# ssb_SURVEY_contact.sh +~/.zen/ipfs/.${ipfsnodeid}/CONTACT/${g1author} +~/.zen/ipfs/.${ipfsnodeid}/CONTACT/${g1author}/ipfs_swarm.key.crypt +~/.zen/ipfs/.${ipfsnodeid}/Addresses +~/.zen/ipfs/.${ipfsnodeid}/AgentVersion +~/.zen/ipfs/.${ipfsnodeid}/repo.stat + + +~/.zen/ipfs/.${ipfsnodeid}/CHAN/sha256(id@channel) + +``` + + +# IPFS CHANNELS + +``` +~/.zen/ipfs/sha256(id@channel)/_uid + + +``` + diff --git a/zen/ssb_INIT.sh b/zen/ssb_INIT.sh index 0efc139..99ad2a0 100755 --- a/zen/ssb_INIT.sh +++ b/zen/ssb_INIT.sh @@ -30,6 +30,12 @@ echo ' # [ASTROPORT](https://astroport.com) ######################################################################## ' +# TODO: Make choice during install +# Do you already have an SSB account? +# Do you already have a G1 account? +# Do you want a passphrase? + + ######################################################################## # ENVIRONEMENT DETECTION + IPFS ~/.zen/ipfs/.$ipfsnodeid/G1SSB/_info ######################################################################## @@ -115,3 +121,5 @@ echo $INVITE # This INVITE is to be sent an "Astroport Station" willing to Join our IPFS Swarm. # sbot_SURVEY.sh is taking care of checking SSB Feed for commands... + +# TODO: CREATE