diff --git a/source/resources/apps/radicle/README.txt b/source/resources/apps/radicle/README.txt index e26d25f..54b66e9 100644 --- a/source/resources/apps/radicle/README.txt +++ b/source/resources/apps/radicle/README.txt @@ -29,6 +29,11 @@ systemctl restart apache2 # Set up certbot: certbot +# test it: +echo rad.forksand.com > /var/www/html/index.html + +# https://rad.forksand.com + # Configure apache2 https proxy $ cat /etc/apache2/sites-enabled/000-default-le-ssl.conf @@ -61,11 +66,15 @@ EOF # Install rustup curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh +source $HOME/.cargo/env + # Install yarn mkdir -p ~/bin/ cd ~/bin/ ln -s /usr/bin/yarnpkg yarn +which yarn + # Clone radicle cd ~/devel/ git clone https://github.com/radicle-dev/radicle-bins.git @@ -79,17 +88,14 @@ yarn build mkdir -p ~/.radicle-seed chmod og-rwx ~/.radicle-seed +# add to ~/.bashrc +export PATH="$HOME/.radicale/bin:$PATH" + # Create key cargo run -p radicle-keyutil -- --filename ~/.radicle-seed/secret.key # Run the thing: -cd /home/jebba/devel/radicle-bins/seed/ui - -# example: -# hyy5s7ysg96fqa91gbe7h38yddh4mkokft7y4htt8szt9e17sxoe3h@seed.my.org:12345 -# rad.forksand.com: - cat >> #!/bin/bash @@ -97,7 +103,10 @@ set -x cd ~/devel/radicle-bins/ -cargo run -p radicle-seed-node --release -- \ +cargo run \ + --verbose \ + -p radicle-seed-node --release -- \ + --log debug \ --root ~/.radicle-seed \ --peer-listen 0.0.0.0:12345 \ --http-listen 0.0.0.0:8080 \ @@ -107,12 +116,15 @@ cargo run -p radicle-seed-node --release -- \ < ~/.radicle-seed/secret.key EOF - -################################################### +# Dev mode # To start a local dev server for preview, run: `yarn run dev`, then point your # browser at: http://localhost:5000. yarn run dev - -# Tunnel +# Dev tunnel ssh -N -C -L 5000:localhost:5000 rad.forksand.com +# Peer to Peer +# p2p nodes example: +# hyy5s7ysg96fqa91gbe7h38yddh4mkokft7y4htt8szt9e17sxoe3h@seed.my.org:12345 +# abc123@rad.forksand.com:12345 +