Skip to content

Commit

Permalink
solution: zip distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
splix committed Aug 23, 2019
1 parent a06ef43 commit 641fe5d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,12 @@ jib {
args = []
ports = ['8090']
}
}

jar {
enabled=true
}

afterEvaluate {
distZip.dependsOn(jar)
}
17 changes: 16 additions & 1 deletion docs/05-start.adoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
== Launch a server

TBD
=== Docker

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

[source,bash]
----
docker run -p 9001:9001 -v $(pwd):/config -w /config emeraldpay/dshackle
----

=== Install & Run manually

1. Download latest release from https://github.com/emeraldpay/dshackle/releases
2. Unpack `unzip dshackle-0.3.zip`
3. Copy to `/opt/dshackle`
4. Setup configuration in `/etc/dshackle`
5. Run as `cp /etc/dshackle && /opt/dshackle/bin/dshackle`

0 comments on commit 641fe5d

Please sign in to comment.