Skip to content

Commit

Permalink
server: Add instructions for Bitcoin
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexITC committed Mar 2, 2019
1 parent aa05af7 commit b6e4100
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@

3. Run the application with: `sbt run`

## Bitcoin
If you want to run the explorer for Bitcoin, checkout the `bitcoin` branch and then, apply manually the following SQL commands:
```sql
ALTER TABLE transaction_inputs DROP CONSTRAINT transaction_inputs_txid_fk;
ALTER TABLE transaction_inputs DROP CONSTRAINT transaction_inputs_from_fk;

ALTER TABLE transaction_outputs DROP CONSTRAINT transaction_outputs_txid_fk;
ALTER TABLE transaction_outputs DROP CONSTRAINT transaction_outputs_spent_on_fk;

ALTER TABLE address_transaction_details DROP CONSTRAINT address_transaction_details_txid_fk;
```

## Test
Run the `sbt test` command to execute the tests.

Expand Down

0 comments on commit b6e4100

Please sign in to comment.