pubtester/README.md

40 lines
844 B
Markdown
Raw Permalink Normal View History

2022-11-15 23:55:00 +00:00
# pubtester
2022-11-16 21:22:25 +00:00
a set of scripts to spin up local environments containing many fediverse implementations for federation testing
2022-11-20 06:00:43 +00:00
at the moment only two instances of pleroma are generated.
mastodon is TODO.
2022-11-16 21:22:25 +00:00
## setup
add the following to your `/etc/hosts`
```
127.0.0.1 pleroma.pubtester.example.net localhost
127.0.0.1 pleroma2.pubtester.example.net localhost
2022-11-16 21:22:25 +00:00
```
run
```
git clone ... && cd pubtester
2022-11-20 06:00:43 +00:00
./pleroma_setup.sh
docker-compose up -d pleroma_web pleroma2_web nginx
2022-11-16 21:22:25 +00:00
```
then go to `https://pleroma.pubtester.example.net:20000/main/friends`
and also `https://pleroma2.pubtester.example.net:20000/main/friends`
## emit new minica certs
this is generally for myself: https://github.com/jsha/minica
`minica -domains 'pubtester.example.net,*.pubtester.example.net'`
## wipe everything
```
sudo rm -rfv ./data
./pleroma_setup.sh
```