The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
docs(storage): show how to fetch the pinned MongoDB replica-set script
Steven Enamakelcd8baa5ed96e
diff --git a/docs/gitbooks/en/developing/architecture/storage.md b/docs/gitbooks/en/developing/architecture/storage.mdindex 874fd575da..db5e6f6356 100644--- a/docs/gitbooks/en/developing/architecture/storage.md+++ b/docs/gitbooks/en/developing/architecture/storage.md@@ -148,7 +148,9 @@ cargo test -p openhuman-cli --features storage-sqlite,storage-file --test storagFor MongoDB, start a single-node replica set and set the URL (a replica set is what lets the driver report and exercise transactions):```bash-# start-mongo-replset.sh is in the tinystoragedrivers repo, .github/scripts/ (tag v0.11.0)+# the script lives in the tinystoragedrivers repo (tag v0.11.0); fetch the pinned copy first+curl -fsSL -o start-mongo-replset.sh \+ https://raw.githubusercontent.com/tinyhumansai/tinystoragedrivers/9eeef54aea403ac07461a612189bdf4982782823/.github/scripts/start-mongo-replset.shbash start-mongo-replset.sh 27017export TSD_MONGO_URL='mongodb://127.0.0.1:27017/tsd_test?directConnection=true'cargo test -p openhuman-cli --features storage-mongodb --test storage_approvals_e2ediff --git a/scripts/e2e-core.sh b/scripts/e2e-core.shindex ca64092708..9c1f1af074 100755--- a/scripts/e2e-core.sh+++ b/scripts/e2e-core.sh@@ -11,6 +11,8 @@## MongoDB: start one with tinystoragedrivers' .github/scripts/start-mongo-replset.sh# (https://github.com/tinyhumansai/tinystoragedrivers, tag v0.11.0) as+# curl -fsSL -o start-mongo-replset.sh \+# https://raw.githubusercontent.com/tinyhumansai/tinystoragedrivers/9eeef54aea403ac07461a612189bdf4982782823/.github/scripts/start-mongo-replset.sh# bash start-mongo-replset.sh 27017# and export TSD_MONGO_URL=mongodb://127.0.0.1:27017/tsd_test?directConnection=true# (the storage-mongodb workflow does exactly this). The URL must be loopback: