- JDK 17 (Ubuntu: install the
openjdk-17-jdk
package) - Intellij IDEA Ultimate
- Docker
-
Clone the repo and open in IntelliJ Ultimate.
-
From the project root directory,run
./gradlew installGitHooks
to install git-hooks -
Press
Ctrl+Alt+Shift+S
and make sure the JDK version is 17. -
Press
Ctrl+Alt+S
and go toBuild, Execution, Deployment -> Docker
and make sure docker is configured correctly/ -
Copy
server/src/main/resources/application.example.yml
toserver/src/main/resources/application.yml
. If you want to use docker instead, copy theserver/src/main/resources/application.docker.example.yml
toserver/src/main/resources/application.yml
. -
Run
git submodule update --init
-
Run
cp server/src/main/resources/dcConstans.example.json server/src/main/resources/dcConstans.json
-
The 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)