mirror of
https://github.com/LemmyNet/lemmy-docs.git
synced 2024-11-22 04:11:09 +00:00
Run federation tests natively
This commit is contained in:
parent
93ede3dd62
commit
9c202c1dea
1 changed files with 12 additions and 3 deletions
|
@ -12,9 +12,18 @@ psql -U lemmy -c "DROP SCHEMA public CASCADE; CREATE SCHEMA public;"
|
||||||
|
|
||||||
### Federation
|
### Federation
|
||||||
|
|
||||||
Install the [Docker development dependencies](docker_development.md), and execute:
|
Install the [Local development dependencies](local_development.md), and add the following lines to `/etc/hosts`:
|
||||||
|
|
||||||
```
|
```
|
||||||
cd docker/federation
|
127.0.0.1 lemmy-alpha
|
||||||
./run-tests.bash
|
127.0.0.1 lemmy-beta
|
||||||
|
127.0.0.1 lemmy-gamma
|
||||||
|
127.0.0.1 lemmy-delta
|
||||||
|
127.0.0.1 lemmy-epsilon
|
||||||
|
```
|
||||||
|
|
||||||
|
Then use the following script to run the tests:
|
||||||
|
```
|
||||||
|
cd api_tests
|
||||||
|
./run-federation-test.bash
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue