Skip to content

Commit 6b19844

Browse files
update readme
1 parent b2e0889 commit 6b19844

File tree

1 file changed

+29
-8
lines changed

1 file changed

+29
-8
lines changed

README.md

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,26 @@ Refer to Getting Started guide and 3 ways how Amazon Q Developer agent for code
1313

1414
## **Installation Instructions**
1515

16+
## Dependencies Setup
17+
18+
Before building the application, you need to install the movie-service-utils dependency in your local Maven repository. This utility library is available in two versions to support different Java versions:
19+
20+
### For Java 1.8 Version
21+
```bash
22+
mvn install:install-file \
23+
-Dfile=./built-library/0_1_0/movie-service-utils-1.0-SNAPSHOT.jar \
24+
-DgroupId=com.amazon.sample \
25+
-DartifactId=movie-service-utils \
26+
-Dversion=1.0-SNAPSHOT \
27+
-Dpackaging=jar
28+
```
29+
1630
## **Local**
1731

1832
1. Compile the application in Local IDE
19-
2. Open a new terminal and type `java -jar .\target\movie-service-0.1.0.jar`
20-
3. Follow the STEP 1 in AWS section below to set up AppConfig Configuration in your default AWS account profile
21-
4. Open a browser and go to http://localhost:8080/movies/getMovies
22-
5. You should be able to see list of paid movies
33+
2. Follow the STEP 1 in AWS section below to set up AppConfig Configuration in your default AWS account profile
34+
3. Open a browser and go to http://localhost:8080/movies/getMovies
35+
4. You should be able to see list of paid movies
2336

2437
## **AWS**
2538

@@ -116,14 +129,22 @@ This application has a Caching layer built in to cache the responses from AWS Ap
116129

117130
## **Installation Instructions**
118131

132+
### For Java 1.8 Version
133+
```bash
134+
mvn install:install-file \
135+
-Dfile=./built-library/0_1_0/movie-service-utils-1.0-SNAPSHOT.jar \
136+
-DgroupId=com.amazon.sample \
137+
-DartifactId=movie-service-utils \
138+
-Dversion=1.0-SNAPSHOT \
139+
-Dpackaging=jar
140+
```
119141

120142
## **Local**
121143

122144
1. Compile the application in Local IDE
123-
2. Open a new terminal and type `java -jar .\target\movie-service-0.1.0.jar`
124-
3. Follow the STEP 1 in AWS section below to set up AppConfig Configuration in your default AWS account profile
125-
4. Open a browser and go to http://localhost:8080/movies/getMovies
126-
5. You should be able to see list of 5 Paid movies
145+
2. Follow the STEP 1 in AWS section below to set up AppConfig Configuration in your default AWS account profile
146+
3. Open a browser and go to http://localhost:8080/movies/getMovies
147+
4. You should be able to see list of paid movies
127148

128149
## **AWS**
129150

0 commit comments

Comments
 (0)