From f75543d1630dcf39bf137eaae0677b1da8cc0389 Mon Sep 17 00:00:00 2001 From: hopeyen Date: Tue, 2 Apr 2024 09:04:01 -0700 Subject: [PATCH] docs: address feedback in examples and default values --- docs/client_guide.md | 2 +- docs/server_guide.md | 4 ++-- template.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/client_guide.md b/docs/client_guide.md index e62959e..3393db5 100644 --- a/docs/client_guide.md +++ b/docs/client_guide.md @@ -62,7 +62,7 @@ Download a bundle of files into remote object storage bucket (`object_storage`) ``` $ file-exchange downloader \ --ipfs-hash QmHash \ - --indexer-endpoints http://localhost:5678,http://localhost:5677 \ + --indexer-endpoints http://localhost:5678,http://localhost:7600 \ --mnemonic "seed phrase" \ --verifier 0xfC24cE7a4428A6B89B52645243662A02BA734ECF \ --provider "arbitrum-sepolia-rpc-endpoint" \ diff --git a/docs/server_guide.md b/docs/server_guide.md index e952ec1..a4bf7f6 100644 --- a/docs/server_guide.md +++ b/docs/server_guide.md @@ -72,7 +72,7 @@ Run `sqlx migrate run --source file-service/migrations` CLI with configuration file ``` -cargo run -p file-service -- --config ./file-server/template.toml +cargo run -p file-service -- --config ./template.toml ``` (You might need to set an additional envrionmental variable for logs, `RUST_LOG=file_service=debug`) @@ -116,7 +116,7 @@ Curl query will be similar to the above examples, here we provide an example in ``` mutation{ addBundles(deployments:["QmeD3dRVV6Gs84TRwiNj3tLt9mBEMVqy3GoWm7WN8oDzGz", "QmeaPp764FjQjPB66M9ijmQKmLhwBpHQhA7dEbH2FA1j3v"], - locations:["./example-file", "./example-file"]){ + locations:["/", "/"]){ ipfsHash } } diff --git a/template.toml b/template.toml index 88440f9..21af6cd 100644 --- a/template.toml +++ b/template.toml @@ -7,7 +7,7 @@ default_price_per_byte = 1 ipfs_gateway = "https://ipfs.network.thegraph.com" log_format = "Pretty" [server.storage_method.LocalFiles] -main_dir = "./../example-file" +main_dir = "./example-file" [common] [common.indexer]