A modernized codebase of SimpleDB in Kotlin with Gradle, JUnit, etc..
This project is still in WIP state. To-dos include:
- add new tests
- Fix nullability & synchronization issues.
- Introduce continous integration
Read Original README first!
## Linux ./gradlew run ## Windows ./gradlew.bat run
The server will create database under
studentdb/ directory. Built sources could be found at
Doc system has been migrated to Dokka. Run
## Linux ./gradlew dokka ## Windows ./gradlew.bat dokka
to generate docs at
Generate IDEA project
gradle idea has been deprecated
The recommended way to load this project in IDEA is to click Open - select this directory - Click OK.
After that, IDEA will prompt you to
Import Gradle project. Click that link, run with default configuration.
Now this project is opened in IDEA.
To run tests in IDEA, right click
Run All tests.
To launch the server, right click
## Linux ./gradlew test ## Windows ./gradlew.bat test
If anything proceeds without error, you should see:
> Task :junitPlatformTest new transaction: 1 recovering existing database ... Test run finished after 8254 ms [ 2 containers found ] [ 0 containers skipped ] [ 2 containers started ] [ 0 containers aborted ] [ 2 containers successful ] [ 0 containers failed ] [ 1 tests found ] [ 0 tests skipped ] [ 1 tests started ] [ 0 tests aborted ] [ 1 tests successful ] [ 0 tests failed ]