Skip to content

Commit cd36b2a

Browse files
jruauxbsbodden
authored andcommitted
fix: Use gradlew to run demos
1 parent b61e631 commit cd36b2a

24 files changed

+10
-862
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -574,36 +574,36 @@ These can be found in the `/demos` folder:
574574

575575
- **roms-documents**:
576576
- Simple API example of `@Document` mapping, Spring Repositories and Querying.
577-
- Run with `./mvnw install -Dmaven.test.skip && ./mvnw spring-boot:run -pl demos/roms-documents`
577+
- Run with `./gradlew :demos:roms-documents:bootRun`
578578

579579
- **roms-hashes**:
580580
- Simple API example of `@RedisHash`, enhanced secondary indices and querying.
581-
- Run with `./mvnw install -Dmaven.test.skip && ./mvnw spring-boot:run -pl demos/roms-hashes`
581+
- Run with `./gradlew :demos:roms-hashes:bootRun`
582582

583583
- **roms-permits**:
584584
- Port of [Elena Kolevska's](https://github.com/elena-kolevska) Quick Start: Using RediSearch with
585585
JSON [Demo][redisearch-json] to Redis OM Spring.
586-
- Run with `./mvnw install -Dmaven.test.skip && ./mvnw spring-boot:run -pl demos/roms-permits`
586+
- Run with `./gradlew :demos:roms-permits:bootRun`
587587

588588
- **roms-vss**:
589589
- Port of [Redis Vector Search Demo](https://github.com/redis-developer/redis-product-search) for fashion product recommendations using vector similarity search.
590-
- Run with `./mvnw install -Dmaven.test.skip && ./mvnw spring-boot:run -pl demos/roms-vss`
590+
- Run with `./gradlew :demos:roms-vss:bootRun`
591591

592592
- **roms-vss-movies**:
593593
- Movie recommendation system showcasing Redis 8's vector similarity search capabilities.
594-
- Run with `./mvnw install -Dmaven.test.skip && ./mvnw spring-boot:run -pl demos/roms-vss-movies`
594+
- Run with `./gradlew :demos:roms-vss-movies:bootRun`
595595

596596
- **roms-modeling**:
597597
- Simple API example of modeling, Spring Repositories and Querying.
598-
- Run with `./mvnw install -Dmaven.test.skip && ./mvnw spring-boot:run -pl demos/roms-modeling`
598+
- Run with `./gradlew :demos:roms-modeling:bootRun`
599599

600600
- **roms-vectorizers**:
601601
- Simple API example of vectorizing, Spring Repositories and Querying.
602-
- Run with `./mvnw install -Dmaven.test.skip && ./mvnw spring-boot:run -pl demos/roms-vectorizers`
602+
- Run with `./gradlew :demos:roms-vectorizer:bootRun`
603603

604604
- **roms-amr-entraid**:
605605
- Demo showing how to connect to Azure Managed Redis (AMR) using Microsoft Entra ID authentication.
606-
- Run with `./mvnw install -Dmaven.test.skip && ./mvnw spring-boot:run -pl demos/roms-amr-entraid`
606+
- Run with `./gradlew :demos:roms-amr-entraid:bootRun`
607607

608608
### External Demos
609609

demos/roms-amr-entraid/.mvn/wrapper/MavenWrapperDownloader.java

Lines changed: 0 additions & 117 deletions
This file was deleted.
Binary file not shown.

demos/roms-amr-entraid/.mvn/wrapper/maven-wrapper.properties

Lines changed: 0 additions & 2 deletions
This file was deleted.

demos/roms-documents/.mvn/wrapper/MavenWrapperDownloader.java

Lines changed: 0 additions & 117 deletions
This file was deleted.
Binary file not shown.

demos/roms-documents/.mvn/wrapper/maven-wrapper.properties

Lines changed: 0 additions & 2 deletions
This file was deleted.

demos/roms-documents/README.MD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ http://localhost:8080/swagger-ui/index.html
2828
To run this demo:
2929

3030
```bash
31-
./mvnw install -Dmaven.test.skip && ./mvnw spring-boot:run -pl demos/roms-documents
31+
./gradlew :demos:roms-documents:bootRun
3232
```
3333

3434
## Testing
3535

36-
The demo includes tests demonstrating how to use Redis OM Spring in a test environment.
36+
The demo includes tests demonstrating how to use Redis OM Spring in a test environment.

0 commit comments

Comments
 (0)