···11+22+## Running `fakermaker`
33+44+Configure a `.env` file for use against `atproto` Typescript PDS implementation
55+(in development mode, already running locally):
66+77+ ATP_PDS_HOST=http://localhost:2583
88+ ATP_AUTH_HANDLE="admin.test"
99+ ATP_AUTH_PASSWORD="admin"
1010+ ATP_AUTH_ADMIN_PASSWORD="admin"
1111+1212+or, against `laputa` golang PDS implementation (in this repo; already running
1313+locally):
1414+1515+ ATP_PDS_HOST=http://localhost:4989
1616+ ATP_AUTH_HANDLE="admin.test"
1717+ ATP_AUTH_PASSWORD="admin"
1818+ ATP_AUTH_ADMIN_PASSWORD="admin"
1919+2020+Then, from the top-level directory, run test commands:
2121+2222+ mkdir -p data/fakermaker
2323+ export GOLOG_LOG_LEVEL=info
2424+2525+ # setup and create initial accounts; 100 by default
2626+ go run ./cmd/fakermaker/ gen-accounts > data/fakermaker/accounts.json
2727+2828+ # create or update profiles for all the accounts
2929+ go run ./cmd/fakermaker/ gen-profiles
3030+3131+ # create follow graph between accounts
3232+ go run ./cmd/fakermaker/ gen-graph
3333+3434+ # create posts, including mentions and image uploads
3535+ go run ./cmd/fakermaker/ gen-posts
3636+3737+ # create more interations, such as likes, between accounts
3838+ go run ./cmd/fakermaker/ gen-interactions
3939+4040+ # lastly, read-only queries, including timelines, notifications, and post threads
4141+ go run ./cmd/fakermaker/ run-browsing
4242+4343+4444+## Docker Compose Integration Tests
4545+4646+To run against Typescript services running in Docker, use the docker compose
4747+file in this directory.
4848+4949+Run all the servics:
5050+5151+ docker-compose up
5252+5353+Then configure and run `fakermaker` using the commands above. To run automated integration tests:
5454+5555+ # from top-level directory of this repo
5656+ make test-interop
5757+5858+If you need to wipe volumes (all databases):
5959+6060+ docker-compose down -v