Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Beddows committed May 3, 2016
2 parents cb7d5c1 + 48030dd commit dba2763
Show file tree
Hide file tree
Showing 26 changed files with 3,163 additions and 477 deletions.
22 changes: 20 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ sudo apt-get install curl build-essential python
Install PostgreSQL (version 9.5.2):

```
curl -sL "https://downloads.lisk.io/scripts/setup_postgres.Linux" | bash -
curl -sL "https://downloads.lisk.io/scripts/setup_postgresql.Linux" | bash -
sudo -u postgres createuser --createdb --password $USER
createdb lisk_test
```
Expand Down Expand Up @@ -87,14 +87,32 @@ node app.js -p [port] -a [address] -c [config-path]

## Tests

Before running any tests, please ensure Lisk is configured to run on the testnet (this is the default), and not the mainnet.
Before running any tests, please ensure Lisk is configured to run on the same testnet as used by the test-suite.

Replace **config.json** and **genesisBlock.json** with the corresponding files under the **test** directory:

```
cp test/config.json test/genesisBlock.json .
```

**NOTE:** The master passphrase for this genesis block is as follows:

```
wagon stock borrow episode laundry kitten salute link globe zero feed marble
```

Install mocha (globally):

```
sudo npm install mocha -g
```

Launch lisk (runs on port 4000):

```
node app.js
```

Run the test suite:

```
Expand Down
Loading

0 comments on commit dba2763

Please sign in to comment.