diff --git a/README_I2P.md b/README_I2P.md deleted file mode 100644 index f5e2e54ef..000000000 --- a/README_I2P.md +++ /dev/null @@ -1,30 +0,0 @@ -How to build a Dendrite Homeserver modified to run over I2P -=========================================================== - -1. First, clone the `matrix-org/dendrite` implementation of dendrite into your GOPATH and change directory to the `main` checkout. - -```sh -git clone https://github.com/matrix-org/dendrite $HOME/go/src/github.com/matrix-org/dendrite -cd $HOME/go/src/github.com/matrix-org/dendrite -``` - -2. Second, add my fork `eyedeekay/dendrite` as a remote and check out the i2p-demo branch. This is required because pseudonymous contributions to `dendrite` are not allowed, so I am not allowed to submit my changes to them. - -```sh -git remote add idk https://github.com/eyedeekay/dendrite -git pull idk i2p-demo -git checkout i2p-demo -``` - -3. Third, build the binary: - -```sh -go build -o bin/dendrite-demo-i2p ./cmd/dendrite-demo-i2p -``` - -Or, do it automatically using just a `curlpipe` ------------------------------------------------ - -```sh -curl 'https://eyedeekay.github.io/dendrite/update-branch.sh' | bash - -``` \ No newline at end of file diff --git a/update-branch.sh b/update-branch.sh deleted file mode 100755 index dbd9c6a26..000000000 --- a/update-branch.sh +++ /dev/null @@ -1,26 +0,0 @@ -#! /usr/bin/env sh - -# -# This is because matrix-org doesn't allow anonymous contributors. -# You can run it as a curlpipe if you're brave. -# - -if [ "$(pwd)" != "$HOME/go/src/github.com/matrix-org/dendrite" ]; then - if [ ! -d "$HOME/go/src/github.com/matrix-org/dendrite" ]; then - git clone https://github.com/matrix-org/dendrite "$HOME/go/src/github.com/matrix-org/dendrite" - cd "$HOME/go/src/github.com/matrix-org/dendrite" - git remote add idk https://github.com/eyedeekay/dendrite - git pull idk i2p-demo - fi - cd "$HOME/go/src/github.com/matrix-org/dendrite" - git checkout i2p-demo -fi - -echo "Pulling in changes from matrix-org main" -git pull origin main - -echo "Pulling in changes from eyedeekay i2p-demo" -git pull idk i2p-demo - -echo "Generating binary" -go build -o bin/dendrite-demo-i2p ./cmd/dendrite-demo-i2p \ No newline at end of file