Skip to content

Commit

Permalink
Update Distribution.md (#94)
Browse files Browse the repository at this point in the history
* Update Distribution.md

Updates for running Tessera instructions

* Update Distribution.md

* Update Distribution.md

* Update Distribution.md
  • Loading branch information
Krish1979 authored Jul 8, 2021
1 parent 64b457d commit 74db546
Showing 1 changed file with 43 additions and 6 deletions.
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/
```

0 comments on commit 74db546

Please sign in to comment.