From daf261bdc4623e1af1f06a4a096b630f3fa75779 Mon Sep 17 00:00:00 2001 From: Robert James Hernandez Date: Wed, 18 Aug 2021 03:01:24 -0700 Subject: [PATCH 1/2] update install docs to align with others in repo Signed-off-by: Robert James Hernandez --- INSTALLATION.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/INSTALLATION.md b/INSTALLATION.md index 503a73558..5e3ac6402 100644 --- a/INSTALLATION.md +++ b/INSTALLATION.md @@ -85,25 +85,24 @@ go install github.com/google/trillian/cmd/trillian_log_signer@v1.3.14-0.20210713 First run the trillian log server ``` -trillian_log_server -http_endpoint=localhost:8090 -rpc_endpoint=localhost:8091 --logtostderr ... +trillian_log_server -http_endpoint=localhost:8091 -rpc_endpoint=localhost:8090 --logtostderr ... ``` Now run the signer: ``` -trillian_log_signer --logtostderr --force_master --http_endpoint=localhost:8190 -rpc_endpoint=localhost:8191 --batch_size=1000 --sequencer_guard_window=0 --sequencer_interval=200ms +trillian_log_signer --logtostderr --force_master --http_endpoint=localhost:8191 -rpc_endpoint=localhost:8190 --batch_size=1000 --sequencer_guard_window=0 --sequencer_interval=200ms ``` ## Run Rekor We are now ready to run rekor. -> :notebook: If you want a quick handy search index, then you will need to install redis-server - if you choose not to, then you must pass the argument `--enable_retrieve_api` false. - ``` -rekor-server serve --rekor_server.address=0.0.0.0 --rekor_server.port=3000 +rekor-server serve --rekor_server.address=0.0.0.0 --rekor_server.port=3000 --enable_retrieve_api=false ``` +> :notebook: If you want a quick handy search index, then you will need to install redis-server + and remove the argument `--enable_retrieve_api=false`. Example: From f155e8d428286a76110b6d209a1ddd8b4b260826 Mon Sep 17 00:00:00 2001 From: Robert James Hernandez Date: Wed, 18 Aug 2021 03:02:11 -0700 Subject: [PATCH 2/2] Addding note about createtree needed for installation Signed-off-by: Robert James Hernandez --- INSTALLATION.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/INSTALLATION.md b/INSTALLATION.md index 5e3ac6402..b07601063 100644 --- a/INSTALLATION.md +++ b/INSTALLATION.md @@ -80,6 +80,10 @@ go install github.com/google/trillian/cmd/trillian_log_server@v1.3.14-0.20210713 go install github.com/google/trillian/cmd/trillian_log_signer@v1.3.14-0.20210713114448-df474653733c ``` +``` +go install github.com/google/trillian/cmd/createtree@v1.3.14-0.20210713114448-df474653733c +``` + ## Run trillian First run the trillian log server @@ -94,6 +98,12 @@ Now run the signer: trillian_log_signer --logtostderr --force_master --http_endpoint=localhost:8191 -rpc_endpoint=localhost:8190 --batch_size=1000 --sequencer_guard_window=0 --sequencer_interval=200ms ``` +Create tree: + +``` +createtree --admin_server=localhost:8090 +``` + ## Run Rekor We are now ready to run rekor.