Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clients
java
duniter4j
Commits
555db02f
Commit
555db02f
authored
Apr 15, 2021
by
Benoit Lavenier
Browse files
[fix] Update readme
parent
75187195
Pipeline
#11758
passed with stage
in 19 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
555db02f
...
...
@@ -38,18 +38,18 @@ WORKDIR /duniter4j
# tar -xzf archive.tar.gz && rm *.tar.gz && mv cesium-* src && \
RUN
cd
/duniter4j
&&
\
wget https://github.com/duniter/duniter4j/releases/download/duniter4j-
${
DUNITER4J_VERSION
}
/duniter4j-
es
-
${
DUNITER4J_VERSION
}
-standalone
.zip
&&
\
unzip
*
.zip
&&
rm
*
.zip
&&
mv
duniter4j-
es
-
*
duniter4j-
es
&&
\
wget https://github.com/duniter/duniter4j/releases/download/duniter4j-
${
DUNITER4J_VERSION
}
/duniter4j-
client
-
${
DUNITER4J_VERSION
}
-standalone
.zip
&&
\
unzip
*
.zip
&&
rm
*
.zip
&&
mv
duniter4j-
client
-
*
duniter4j-
client
&&
\
mkdir
duniter4j-es/data
&&
\
chown
-R
duniter4j:duniter4j duniter4j-
es
chown
-R
duniter4j:duniter4j duniter4j-
client
RUN
ln
-s
/duniter4j/duniter4j-
es
/bin/elasticsearch /usr/bin/duniter4j-
es
RUN
ln
-s
/duniter4j/duniter4j-
client
/bin/elasticsearch /usr/bin/duniter4j-
client
VOLUME
/duniter4j/duniter4j-
es
VOLUME
/duniter4j/duniter4j-
client
EXPOSE
9200 9400
USER
duniter4j
WORKDIR
/duniter4j
ENTRYPOINT
["/usr/bin/duniter4j-
es
"]
ENTRYPOINT
["/usr/bin/duniter4j-
client
"]
CMD
[]
README.md
View file @
555db02f
...
...
@@ -7,12 +7,22 @@ Duniter4j is a Java Toolkit for [Duniter](http://duniter.org).
> See the [documentation web site](http://doc.e-is.pro/duniter4j/)
## Modules
## Manual
-
Install Java JRE (1.8 or higher)
-
Download the file
`duniter4j-client-vX.Y.Z.zip`
from the
[
latest releases page
](
https://www.github.com/duniter/duniter4j/releases
)
-
Unzip the archive;
-
The open a terminal and execute the script
`duniter4j.sh`
(or
`duniter4j.bat`
) :
```
bash
cd
duniter4j-client-vX.Y.Z
./duniter4j.sh
--help
```
## Architecture
Duniter4j has tree main modules :
-
`duniter4j-client`
:
[
a command line tool
](
./src/site/markdown/CLI.md
)
, to execute basic operation on a Duniter currency: transfer, view peers, ...
-
`duniter4j-core-client`
:
[
a Java API
](
./src/site/markdown/Java_API.md
)
to help Java developers to communicate with a Duniter network.
-
`duniter4j-core-shared`
: A set of useful classes, used by other modules.
-
`duniter4j-core-client`
:
[
a Java API
](
./src/site/markdown/Java_API.md
)
to help Java developers to communicate with a Duniter network.
-
`duniter4j-client`
:
[
a command line tool
](
./src/site/markdown/CLI.md
)
, to execute basic operation on a Duniter currency: transfer, view peers, ...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment