mirror of
https://github.com/LemmyNet/lemmy-docs.git
synced 2024-11-01 01:59:54 +00:00
Merge pull request #1 from LemmyNet/federation-tests
Run federation tests natively
This commit is contained in:
commit
acd211710c
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