UPDATE 23 de enero
This commit is contained in:
23
README.md
23
README.md
@@ -66,6 +66,15 @@ We need to tell the application to look at your *local* Redis instead of the clo
|
||||
spring.profiles.active=dev
|
||||
```
|
||||
|
||||
3. Modify Google Memorystore(Redis) Configuration in the file `src/main/resources/application.properties`:
|
||||
|
||||
```properties
|
||||
spring.data.redis.host=localhost
|
||||
spring.data.redis.port=6379
|
||||
spring.data.redis.password=23cb4c76-9d96-4c74-b8c0-778fb364877a
|
||||
spring.data.redis.username=default
|
||||
```
|
||||
|
||||
-----
|
||||
|
||||
### Step 5: Build the Project
|
||||
@@ -79,11 +88,23 @@ Now let's download all the dependencies defined in the `pom.xml`.
|
||||
mvn clean install -DskipTests
|
||||
```
|
||||
* *Why skip tests?* The tests might try to connect to real cloud services or check specific configs that might fail on the first local run. Let's just get it compiling first.
|
||||
|
||||
3. If you get an error with the dependencies, open the built-in terminal and run:
|
||||
```bash
|
||||
mvn dependency:purge-local-repository
|
||||
```
|
||||
-----
|
||||
|
||||
### Step 6: Run the Application
|
||||
|
||||
#### Step 6.1: Run the Application using an Maven
|
||||
|
||||
1. Open the built-in terminal and run:
|
||||
```bash
|
||||
mvn spring-boot:run
|
||||
```
|
||||
|
||||
#### Step 6.2: Run the Application using an IDE
|
||||
|
||||
1. Navigate to `src/main/java/com/example/Orchestrator.java`.
|
||||
2. You should see a small "Run | Debug" button appear just above the `public static void main` line.
|
||||
3. Click **Run**.
|
||||
|
||||
Reference in New Issue
Block a user