Skip to content
Snippets Groups Projects
Unverified Commit b7e0a46b authored by Robert James Hernandez's avatar Robert James Hernandez Committed by GitHub
Browse files

Updates to INSTALLATION.md notes (#415)


* update install docs to align with others in repo

Signed-off-by: default avatarRobert James Hernandez <rob@sarcasticadmin.com>

* Addding note about createtree needed for installation

Signed-off-by: default avatarRobert James Hernandez <rob@sarcasticadmin.com>
parent ec05f3cb
No related branches found
No related tags found
No related merge requests found
......@@ -80,30 +80,39 @@ 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
```
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
```
Create tree:
```
createtree --admin_server=localhost:8090
```
## 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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment