From 8c1a122dc70877b8817d9ef3e216b2f5fcd3af18 Mon Sep 17 00:00:00 2001 From: John Ahlroos Date: Tue, 5 Jun 2018 19:28:28 +0300 Subject: [PATCH] Updated README --- README.md | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index f277c0c..8f001fa 100644 --- a/README.md +++ b/README.md @@ -14,24 +14,27 @@ ensure queries within the transactions are consistent. The core library containing the DBTModule to include in your Ratpack application. The DBT module can be added like so: + ```groovy bindings { module (DBTModule) { config -> - config.ledger.remoteUrl = 'http://localhost:5050/ledger' - config.executor.remoteUrl = 'http://localhost:5050/executor' + config.ledger.remoteUrl = ':/ledger' + config.executor.remoteUrl = ':/executor' } } ``` -## DBT Demo - -Demo application for testing the transactions. - -The demo application has a database with one table LOGS which you can use to insert and select data from. - -The demo can be run by running ``./gradlew :dbt-demo:run`` after which the demo is running on http://localhost:5050 - - ## DBT Test -The test module contains all the integration tests for the module. \ No newline at end of file +The test module contains all the integration tests for the module. + + +### Docker + +There are two projects available for building the executor and the ledger as docker images. + +* docker-ledger - Run the ledger as a docker image +* docker-executor - Run the executor as a docker image + +For more information how to run and configure them see their corresponding READMEs. +