Skip to content

Commit

Permalink
Merge pull request cisco-open#21 from jashmehta3300/jash-local-mongo
Browse files Browse the repository at this point in the history
updated README for local mongo instructions
  • Loading branch information
warisgill authored Sep 18, 2023
2 parents c035600 + 269b856 commit 8567914
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -415,17 +415,22 @@ 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
```

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
Expand Down

0 comments on commit 8567914

Please sign in to comment.