Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Distribution.md #94

Merged
merged 4 commits into from
Jul 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 43 additions & 6 deletions docs/HowTo/Get-started/Distribution.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,54 @@ description: Install Tessera

# Install Tessera

1. Install necessary [dependencies](Dependencies.md)
* Install necessary [dependencies](Dependencies.md)

1. Download and unpack the latest `tessera-app-<VERSION>-app.zip|tar` from the
* Download and unpack the latest `tessera-app-<VERSION>-app.zip|tar` distribution from the
[`ConsenSys/tessera` repository](https://github.com/ConsenSys/tessera/releases/latest)

```shell
tar xvf tessera-dist-[version].tar
./tessera-dist-[version]/bin/tessera --help
```
2. Add tessera script to path (optional but rest of documentation assumes its in the path)
$ tar xvf tessera-[version].tar
$ tree tessera-[version]
tessera-[version]
├── bin
│ ├── tessera
│ └── tessera.bat
└── lib
├── HikariCP-3.2.0.jar
...
```

* Add tessera script to path (optional but rest of documentation assumes its in the path)

```shell
export PATH=$PATH:tessera-dist-[version]/bin
```

* Verify the installation with the `help` command.

```shell
./tessera-dist/build/distributions/tessera-<version>/ help
```

## Supplementing the distribution

Additional functionality can be added to a distribution by adding `.jar` files to the `/lib` directory.

### Adding Tessera artefacts

Download and unpack the artefact:

```shell
$ tar xvf aws-key-vault-[version].tar
$ tree aws-key-vault-[version]
aws-key-vault-[version].tar
└── lib
├── annotations-2.10.25.jar
...
```

Copy the contents of the artefact's `/lib` into the distribution `/lib` (make sure to resolve any version conflicts/duplicated `.jar` files introduced during the copy):

```shell
cp -a aws-key-vault-[version]/lib/. tessera-[version]/lib/
```