Skip to content

Commit b7e0a46

Browse files
Updates to INSTALLATION.md notes (sigstore#415)
* update install docs to align with others in repo Signed-off-by: Robert James Hernandez <rob@sarcasticadmin.com> * Addding note about createtree needed for installation Signed-off-by: Robert James Hernandez <rob@sarcasticadmin.com>
1 parent ec05f3c commit b7e0a46

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

INSTALLATION.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,30 +80,39 @@ go install github.com/google/trillian/cmd/trillian_log_server@v1.3.14-0.20210713
8080
go install github.com/google/trillian/cmd/trillian_log_signer@v1.3.14-0.20210713114448-df474653733c
8181
```
8282

83+
```
84+
go install github.com/google/trillian/cmd/createtree@v1.3.14-0.20210713114448-df474653733c
85+
```
86+
8387
## Run trillian
8488

8589
First run the trillian log server
8690

8791
```
88-
trillian_log_server -http_endpoint=localhost:8090 -rpc_endpoint=localhost:8091 --logtostderr ...
92+
trillian_log_server -http_endpoint=localhost:8091 -rpc_endpoint=localhost:8090 --logtostderr ...
8993
```
9094

9195
Now run the signer:
9296

9397
```
94-
trillian_log_signer --logtostderr --force_master --http_endpoint=localhost:8190 -rpc_endpoint=localhost:8191 --batch_size=1000 --sequencer_guard_window=0 --sequencer_interval=200ms
98+
trillian_log_signer --logtostderr --force_master --http_endpoint=localhost:8191 -rpc_endpoint=localhost:8190 --batch_size=1000 --sequencer_guard_window=0 --sequencer_interval=200ms
99+
```
100+
101+
Create tree:
102+
103+
```
104+
createtree --admin_server=localhost:8090
95105
```
96106

97107
## Run Rekor
98108

99109
We are now ready to run rekor.
100110

101-
> :notebook: If you want a quick handy search index, then you will need to install redis-server
102-
if you choose not to, then you must pass the argument `--enable_retrieve_api` false.
103-
104111
```
105-
rekor-server serve --rekor_server.address=0.0.0.0 --rekor_server.port=3000
112+
rekor-server serve --rekor_server.address=0.0.0.0 --rekor_server.port=3000 --enable_retrieve_api=false
106113
```
114+
> :notebook: If you want a quick handy search index, then you will need to install redis-server
115+
and remove the argument `--enable_retrieve_api=false`.
107116

108117
Example:
109118

0 commit comments

Comments
 (0)