A server based on HomeBank XML file
homebank-server can be built into a single bootable JAR with:
./gradlew bootJar
Bootable JAR is then in directory: build/libs
homebank-server can also be built into a Docker image
In that case build the bootable JAR and run after:
./gradlew docker
Built Docker image name: cyosp/homebank-server
Put a homebank.xhb
file at project level and run:
java -jar build/libs/homebank-server-*.jar
Replace:
/path/to/your/homebank/file.xhb
with your own Homebank file path2.0.0-SNAPSHOT
with homebank-server version expected
And run:
docker run -v /path/to/your/homebank/file.xhb:/homebank.xhb -p 8080:8080 cyosp/homebank-server:2.0.0-SNAPSHOT
Steps to follow:
- Checkout the repository and go into project folder
- Run:
./gradlew idea
- Start IntelliJ and open project folder
- Click:
Import Gradle Project
when IntelliJ displays information event:IntelliJ IDEA found a Gradle build script
Vulnerability is due to log4j-core
library which is not part of project dependencies