Skip to content

Commit 9ad9905

Browse files
authored
Merge pull request #5 from oslabs-beta/dockerREADME
ommited quotes for the .env example
2 parents f108245 + 6b115d7 commit 9ad9905

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

examples/docker/README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,16 @@ The frontend has a reverse proxy set up for proxying requests to the appropriate
1212
## Steps to Run Example
1313
Peform the following steps in each of the _books_, _customers_, _frontend_, and _orders_ directories
1414

15-
1. Add a `.env` file to *each* folder with the following key/value pairs:
16-
17-
- `CHRONOS_DB` = `MongoDB` or `PostgreSQL`
18-
- `CHRONOS_URI` = The URI to the desired MongoDB or PostgreSQL database to save health metrics via **Chronos**
19-
- `BOOK_URI`= A **MongoDB** URI for the bookserver microservice to use
20-
- `CUSTOMER_URI`= A **MongoDB** URI for the customerserver microservice to use
21-
- `ORDER_URI`= A **MongoDB** URI for the orderserver microservice to use
15+
1. Add a `.env` file to *each* folder with the following key/value pairs:
16+
- **NOTE**: Ensure that there are no quotes surrounding any of the keys and values.
2217

18+
```
19+
CHRONOS_DB = MongoDB or PostgreSQL
20+
CHRONOS_URI = The URI to the desired MongoDB or PostgreSQL database to save health metrics via **Chronos**
21+
BOOK_URI = A **MongoDB** URI for the bookserver microservice to use
22+
CUSTOMER_URI = A **MongoDB** URI for the customerserver microservice to use
23+
ORDER_URI = A **MongoDB** URI for the orderserver microservice to use
24+
```
2325
2. Verify that @chronosmicro/tracker is a dependency in each of the /books, /customers, /frontend, and /orders folders (see the `package.json` in each folder).
2426

2527
- If the @chronosmicro/tracker dependency is listed as a remote npm package (i.e. `"@chronosmicro/tracker": "^8.0.3"`) and you've ran *npm install*, no further work is needed continue to step 3. If you have the dependency as `"@chronosmicro/tracker": "file:./chronos_npm_package"`, make sure to change the version from `"file:./chronos_npm_package"` to `"^8.0.3"` and run npm install.

0 commit comments

Comments
 (0)