amos-ss17-proj7 Virtual Ledger
Installation general
You need an environment variable called VIRTUAL_LEDGER_DB_PASSWORD that contains the password for the database. Restarting the computer/server may be required after setting it!
Install workspace for eclipse
Open terminal in the rootproject and run
gradle eclipse
Go to eclipse
- import
- existing projects into workspace
- select root-directory of this project as root directory
- select "Search for nested projects"
- select all projects
- click "Finish"
Install workspace for IDEA
Open terminal in the rootproject and run
gradle idea
Then import the project in idea.
Use Jetty-Server
Open Terminal in server-workspace.
Run the command
gradle clean bootRun
you build the server-war-file and run it on an embedded jetty server.
Build spring boot application
Open terminal in the rootproject and run:
gradle clean build
The compiled jar-file can be found in build/libs
Use test coverage
Local test coverage
To compute the test coverage of all projects run:
gradle clean check
The html-testcoverage is in $projectname/build/jacocoHtml
E.g. for the serverproject in server/build/jacocoHtml
Global test coverage
Visit CodeCov