-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to INSTALLATION.md notes (#415)
* 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
1 parent
ec05f3c
commit b7e0a46
Showing
1 changed file
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
||
|