Skip to content

Commit

Permalink
solution: release v0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
splix committed Nov 26, 2021
1 parent e1170dd commit 5ebd23a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
6 changes: 4 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
ifdef::env-github[]
:imagesdir: https://raw.githubusercontent.com/emeraldpay/dshackle/master/docs/assets
endif::[]
:version: 0.11.0
:version-short: 0.11

image:https://github.com/emeraldpay/dshackle/workflows/Tests/badge.svg["Unit Tests"]
image:https://codecov.io/gh/emeraldpay/dshackle/branch/master/graph/badge.svg["Coverage",link="https://codecov.io/gh/emeraldpay/dshackle"]
Expand Down Expand Up @@ -136,9 +138,9 @@ export INFURA_USER=...
----

.Run Dshackle
[source,bash]
[source,bash,subs="attributes"]
----
docker run -p 2449:2449 -p 8545:8545 -v $(pwd):/etc/dshackle -e "INFURA_USER=$INFURA_USER" emeraldpay/dshackle:0.10
docker run -p 2449:2449 -p 8545:8545 -v $(pwd):/etc/dshackle -e "INFURA_USER=$INFURA_USER" emeraldpay/dshackle:{version-short}
----

Now it listens on port 2449 at the localhost and can be connected from any gRPC compatible client.
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ group = 'io.emeraldpay.dshackle'
// Version schema:
// x.x.x for production, following SemVer model
// x.x.x-SNAPSHOT for development
version = '0.11.0-SNAPSHOT'
version = '0.11.0'

java {
sourceCompatibility = JavaVersion.VERSION_13
Expand Down
10 changes: 6 additions & 4 deletions docs/02-quick-start.adoc
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
== Quick Start
:version: 0.11.0
:version-short: 0.11

=== Prerequisites

Dshackle is designed for the cloud environment and supposed to be used withing Docker and/or Kubernetes. However, it's a JVM
based application and, therefore, can be used in most of the standard environments where Java Virtual Machine can be installed.
Dshackle is designed for the cloud environment and supposed to be used withing Docker and/or Kubernetes.
However, it's a JVM based application and, therefore, can be used in most of the standard environments where Java Virtual Machine can be installed.

We're going to use Docker image for this quick start.

Expand Down Expand Up @@ -86,9 +88,9 @@ export INFURA_USER=...
----

.Run Dshackle
[source,bash]
[source,bash,subs="attributes"]
----
docker run -p 2449:2449 -p 8545:8545 -v $(pwd):/etc/dshackle -e "INFURA_USER=$INFURA_USER" emeraldpay/dshackle:0.10
docker run -p 2449:2449 -p 8545:8545 -v $(pwd):/etc/dshackle -e "INFURA_USER=$INFURA_USER" emeraldpay/dshackle:{version-short}
----

==== Access using JSON RPC
Expand Down
6 changes: 4 additions & 2 deletions docs/05-start.adoc
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
== Launch a server
:version: 0.11.0
:version-short: 0.11

=== Docker

Prepare configuration files `dshackle.yaml` and `upstreams.yaml` in the current directory, then launch docker as:

[source,bash]
[source,bash,subs="attributes"]
----
docker run -p 2449:2449 -v $(pwd):/config -w /config emeraldpay/dshackle:0.10
docker run -p 2449:2449 -v $(pwd):/config -w /config emeraldpay/dshackle:{version-short}
----

=== Install & Run manually
Expand Down

0 comments on commit 5ebd23a

Please sign in to comment.