Deployment¶
Run the scripts from src/keri-system.
| Script | Purpose |
|---|---|
deploy/scripts/build.sh |
Build keri-go and keri-agent |
deploy/scripts/bootstrap.sh |
Create keys and network.json |
deploy/scripts/up.sh |
Build, bootstrap and start |
deploy/scripts/did.sh |
Start with a mediator and a DIDComm agent |
deploy/scripts/e2e.sh |
End-to-end checks |
deploy/scripts/logs.sh |
Follow logs |
deploy/scripts/down.sh |
Stop. Keeps data |
deploy/scripts/purge.sh --yes |
Delete keys and logs |
tests/chaos.sh kills services repeatedly while an agent works, and verifies that nothing is lost.
Ports¶
| Service | Variable | Default |
|---|---|---|
| Agent | AGENT_PORT |
18480 |
| Mediator | DID_MEDIATOR_PORT |
18481 |
| DIDComm agent | DID_AGENT_PORT |
18482 |
Backups¶
Back up the data directory of every agent with its passphrase, and the seeds of witnesses and watchers. The data directory contains the next and recovery keys. Without them the identity cannot be rotated or recovered.
Never run two copies of one agent. Two copies can sign different events at the same position, which is a conflict.