You can run the dependencies for the projects with Docker compose:
docker-compose up
The command will launch:
- Localstack (which is used to mock S3)
- Postgres
Next, head over to Intellij and configure the Spring Boot's profile to use Localstack in Run > Edit configurations
:
You can run the application from Intelli with Run > Run
.
If you prefer to run the app from the command line, you can do so from the root of the project with:
./gradlew bootRun --args='--spring.profiles.active=localstack'