The dependency is shown below:
Dependency | Version |
---|---|
Java | 17 |
Kotlin | 1.9.24 |
Spring Boot | 3.4.0-SNAPSHOT |
clone the project
git clone https://github.com/cjy513203427/IADBE_Server.git
cd IADBE_Server/
Our project is developed with IntelliJ IDEA. After cloning, you can run IadbeServerApplication.kt directly.
If you use another IDE or CLI, follow the command below. Run the Application:
./gradlew bootRun
Again, if you're on Windows:
gradlew.bat bootRun
Run pre-built JAR
You can run the pre-built JAR file directly:cd jar/
java -jar IADBE_Server-0.0.1-SNAPSHOT.jar
Docker
# Build docker image
docker build -t iadbe_server .
# Run docker container
docker run --rm --name iadbe_server -p 8080:8080 iadbe_server