diff --git a/development.md b/development.md index 8364fe9..bc50252 100644 --- a/development.md +++ b/development.md @@ -89,6 +89,12 @@ or see the commands to do this outselves: privateer2 --path tmp/privateer.json --as=bob restore data --dry-run ``` +Tear down the server with + +``` +privateer2 --path tmp/privateer.json --as=alice server stop +``` + ## Writing tests We use a lot of global resources, so it's easy to leave behind volumes and containers (often exited) after running tests. At best this is lazy and messy, but at worst it creates hard-to-diagnose dependencies between tests. Try and create names for auto-cleaned volumes and containers using the `managed_docker` fixture (see [`tests/conftest.py`](tests/conftest.py) for details).