2021-07-10 12:53:07 +00:00
|
|
|
# Qortal Data Node
|
|
|
|
|
|
|
|
## Important
|
|
|
|
|
|
|
|
This code is unfinished, and we haven't had the official genesis block for the data chain yet.
|
|
|
|
Therefore it is only possible to use this code if you first create your own test chain. I would
|
|
|
|
highly recommend waiting until the code is in a more complete state before trying to run this.
|
2018-05-16 11:22:48 +00:00
|
|
|
|
2020-01-22 10:54:21 +00:00
|
|
|
## Build / run
|
|
|
|
|
2020-02-04 12:27:08 +00:00
|
|
|
- Requires Java 11. OpenJDK 11 recommended over Java SE.
|
|
|
|
- Install Maven
|
2020-01-22 10:54:21 +00:00
|
|
|
- Use Maven to fetch dependencies and build: `mvn clean package`
|
|
|
|
- Built JAR should be something like `target/qortal-1.0.jar`
|
|
|
|
- Create basic *settings.json* file: `echo '{}' > settings.json`
|
|
|
|
- Run JAR in same working directory as *settings.json*: `java -jar target/qortal-1.0.jar`
|
|
|
|
- Wrap in shell script, add JVM flags, redirection, backgrounding, etc. as necessary.
|
2021-02-06 10:59:31 +00:00
|
|
|
- Or use supplied example shell script: *start.sh*
|