From 269b8569ef10dbcdf3a39c7fbc01de5fa0dd9b73 Mon Sep 17 00:00:00 2001 From: jashmehta3300 Date: Sat, 2 Sep 2023 18:19:15 -0400 Subject: [PATCH] updated README for local mongo instructions --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cf61a0e..f46b8da 100644 --- a/README.md +++ b/README.md @@ -415,9 +415,14 @@ git clone https://github.com/cisco-open/martian-bank-demo.git cd martian-bank-demo ``` -2. Before you start the installation, ensure that you have `.env` files setup inside all the microservices. You need to create a `.env` file under these folders: `./customer-auth`, `./atm-locator`, `./dashboard`, `./accounts`, `./loan`, `./transactions`. +2. Install mongodb locally and run it. Follow the steps here: https://www.mongodb.com/docs/manual/installation/ -3. To run all the microservices and UI: +3. Before you start with the MartianBank installation, ensure that you have `.env` files setup inside all the microservices. You need to create a `.env` file under these folders: `./customer-auth`, `./atm-locator`, `./dashboard`, `./accounts`, `./loan`, `./transactions`. Each `.env` file should look like this: +```yaml +DB_URL="your-database-connection-url" +``` + +4. To run all the microservices and UI: ```bash cd scripts bash run_local.sh @@ -425,7 +430,7 @@ bash run_local.sh Fire up `http://localhost:3000` to access the Martian Bank App. -4. To stop all the microservices: +5. To stop all the microservices: ```bash cd scripts bash stop_local.sh