mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 06:23:10 -06:00
remove README_I2P
This commit is contained in:
parent
2668607e29
commit
613f0759fd
|
|
@ -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 -
|
||||
```
|
||||
|
|
@ -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
|
||||
Loading…
Reference in a new issue