forked from Qortal/qortal
Qortal Core - Main Code Repository
Decentralized Data Network - Blockchain - TRUE Cross-Chain Trading - Application and Website Hosting - Much More - Qortal is the future internet infrastructure for the global digital world.
c8b70b51c3
This replaces the existing GET /site/{name} API endpoints. Example settings: "gatewayServiceEnabled": true, "gatewayServicePort": 80 Websites can then be served using URL: http://localhost/RegisteredName Or, if node is behind public DNS: http://example.com/RegisteredName Or, if a custom port (such as 12393) is used: http://localhost:12393/RegisteredName http://example.com:12393/RegisteredName This is currently for serving websites only, but can be adapted to serve other services if needed. |
||
---|---|---|
.github/workflows | ||
lib/org | ||
src | ||
tools | ||
WindowsInstaller | ||
.gitignore | ||
AutoUpdates.md | ||
DATABASE.md | ||
log4j2.properties | ||
pom.xml | ||
README.md | ||
run.sh | ||
start.sh | ||
stop.sh | ||
TestNets.md |
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.
Build / run
- Requires Java 11. OpenJDK 11 recommended over Java SE.
- Install Maven
- 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.
- Or use supplied example shell script: start.sh