Skip to content

Commit

Permalink
Updates to INSTALLATION.md notes (#415)
Browse files Browse the repository at this point in the history
* update install docs to align with others in repo

Signed-off-by: Robert James Hernandez <[email protected]>

* Addding note about createtree needed for installation

Signed-off-by: Robert James Hernandez <[email protected]>
  • Loading branch information
sarcasticadmin authored Aug 18, 2021
1 parent ec05f3c commit b7e0a46
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,30 +80,39 @@ go install github.com/google/trillian/cmd/[email protected]
go install github.com/google/trillian/cmd/[email protected]
```

```
go install github.com/google/trillian/cmd/[email protected]
```

## 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:

Expand Down

0 comments on commit b7e0a46

Please sign in to comment.