Update instructions

This commit is contained in:
Tommy Lillehagen 2018-02-12 10:07:27 +00:00
parent d5d5b12a2d
commit c2503921ad
2 changed files with 15 additions and 5 deletions

View File

@ -26,11 +26,21 @@ The project is split into three pieces:
# Setup # Setup
To get started, please run the following command: To get started, please follow the instructions below:
```bash * Go up to the root directory and build the capsule JAR.
$ ./prepare.sh
``` ```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 This script will download necessary database drivers and set up
the dependencies directory with copies of the Corda fat-JAR and the dependencies directory with copies of the Corda fat-JAR and

View File

@ -7,7 +7,7 @@ mkdir -p deps/corda/${VERSION}/apps
mkdir -p deps/drivers mkdir -p deps/drivers
# Copy Corda capsule into deps # 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 # 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 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