The project currently utilizes Java 17. Install SDKMAN! and install the same version that is used for automatic builds:
sdk install java 17.0.11-temYou can set is as default version or switch to it manually:
sdk use java 17.0.11-temInstall and run MySQL server locally
Create secrets/application-secrets.yaml in the project's root directory with the following content:
spring.datasource:
username: USERNAME
password: PASSWORDReplace USERNAME and PASSWORD with actual values
Now everything is ready to start application server:
mvn -pl server -am spring-boot:runRun MySQL server, which is used by server in runtime, and scrap some data:
mvn -pl scraper -am spring-boot:runGroceryDadnow talks toGroceryMomvia the API client, so the server must be running when scraping
It seems like a good idea to use GitHub LFS for our cache, so we can reuse it in tests. The installation and configuration instructions can be found here and here respectively.