Skip to content

Commit

Permalink
Update instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommy Lillehagen committed Feb 12, 2018
1 parent d5d5b12 commit c250392
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
18 changes: 14 additions & 4 deletions experimental/behave/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,21 @@ The project is split into three pieces:

# Setup

To get started, please run the following command:
To get started, please follow the instructions below:

```bash
$ ./prepare.sh
```
* Go up to the root directory and build the capsule JAR.

```bash
$ cd ../../
$ ./gradlew install
```

* Come back to this folder and run:

```bash
$ cd experimental/behave
$ ./prepare.sh
```

This script will download necessary database drivers and set up
the dependencies directory with copies of the Corda fat-JAR and
Expand Down
2 changes: 1 addition & 1 deletion experimental/behave/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ mkdir -p deps/corda/${VERSION}/apps
mkdir -p deps/drivers

# Copy Corda capsule into deps
cp ../../node/capsule/build/libs/corda-*.jar deps/corda/${VERSION}/corda.jar
cp $(ls ../../node/capsule/build/libs/corda-*.jar | tail -n1) deps/corda/${VERSION}/corda.jar

# Download database drivers
curl "https://search.maven.org/remotecontent?filepath=com/h2database/h2/1.4.196/h2-1.4.196.jar" > deps/drivers/h2-1.4.196.jar
Expand Down

0 comments on commit c250392

Please sign in to comment.