Getting Started with ScalarDB
This getting started tutorial explains how to configure your preferred database in ScalarDB and set up a basic electronic money application.
警告
The electronic money application is simplified for this tutorial and isn't suitable for a production environment.
Install a JDK
Because ScalarDB is written in Java, you must have one of the following Java Development Kits (JDKs) installed in your environment:
- Oracle JDK LTS version (8, 11, or 17)
- OpenJDK LTS version (8, 11, or 17)
注記
We recommend using the LTS versions mentioned above, but other non-LTS versions may work.
In addition, other JDKs should work with ScalarDB, but we haven't tested them.
Clone the scalardb
repository
Open a terminal window, and go to your working directory. Then, clone the scalardb repository by running the following command:
$ git clone https://github.com/scalar-labs/scalardb