- JDK 17 (Ubuntu: install the
openjdk-17-jdkpackage) - Intellij IDEA Ultimate
- Docker
Clone the repo and open in IntelliJ Ultimate.
From the project root directory,run
./gradlew installGitHooksto install git-hooksPress
Ctrl+Alt+Shift+Sand make sure the JDK version is 17.Press
Ctrl+Alt+Sand go toBuild, Execution, Deployment -> Dockerand make sure docker is configured correctly/Copy
server/src/main/resources/application.example.ymltoserver/src/main/resources/application.yml. If you want to use docker instead, copy theserver/src/main/resources/application.docker.example.ymltoserver/src/main/resources/application.yml.Run
git submodule update --initRun
cp server/src/main/resources/dcConstants.example.json server/src/main/resources/dcConstants.jsonThe run configurations will be available in the top bar:
- DB & RabbitMQ: For starting the MongoDB and RabbitMQ containers.
- Dev: To start the docker development server.
- Production: To start the docker production server.
- Tests: To run the tests.
- Format: To format the project.
- Assemble: To assemble the project binary.
- Server: To start the server. (Might require DB & RabbitMQ to be running)
