Skip to content

Commit 9c394b0

Browse files
authored
Merge pull request #5 from topcoder-platform/feature/use-projects-api
Feature - Replace direct Project DB queries with Projects API calls - Fix for CI
2 parents 4363bec + 94fdad1 commit 9c394b0

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

ReadMe.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,20 +86,22 @@ To run the Legacy Project Processor using docker, follow the steps below
8686

8787
2. Go to `docker` folder
8888

89-
3. Rename the file `sample.api.env` to `api.env` And properly update M2M-related configuration and the IP addresses to match your environment for the variables : KAFKA_URL, INFORMIX_HOST and PROJECTS_API ( make sure to use IP address instead of hostname ( i.e localhost will not work)).Here is an example:
89+
3. Rename the file `sample.api.env` to `api.env` and uncomment lines `env_file:` and `- api.env` in `docker-compose.yml`.
90+
91+
4. Properly update M2M-related configuration and the IP addresses to match your environment for the variables : KAFKA_URL, INFORMIX_HOST and PROJECTS_API ( make sure to use IP address instead of hostname ( i.e localhost will not work)).Here is an example:
9092
```
9193
KAFKA_URL=192.168.31.8:9092
9294
INFORMIX_HOST=192.168.31.8
9395
PROJECTS_API=192.168.31.8:8001/v5
9496
```
9597

96-
4. Once that is done, go to run the following command
98+
5. Once that is done, go to run the following command
9799

98100
```
99101
docker-compose up
100102
```
101103

102-
5. When you are running the application for the first time, It will take some time initially to download the image and install the dependencies
104+
6. When you are running the application for the first time, It will take some time initially to download the image and install the dependencies
103105

104106
## Running e2e tests
105107
You need to run `docker-compose build` if modify source files.

docker/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ services:
66
build:
77
context: ../
88
dockerfile: docker/Dockerfile
9-
env_file:
10-
- api.env
9+
# env_file:
10+
# - api.env
1111
command: run start
1212
# command: run test
1313
# command: run test:cov

0 commit comments

Comments
 (0)