Skip to content

Commit

Permalink
docs(cbdc-example): update README.md with new instructions to run fro…
Browse files Browse the repository at this point in the history
…ntend

Signed-off-by: André Augusto <[email protected]>
  • Loading branch information
AndreAugusto11 authored and petermetz committed Oct 19, 2023
1 parent f3e53e4 commit a86adc9
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions examples/cactus-example-cbdc-bridging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,18 @@ Wait for the output to show the message `CbdcBridgingApp running...`

## Running the frontend

The source code of the frontend is not yet available, however, we provide a Docker image.
### Using a pre-built Docker image

In a second terminal run:

`docker run -p 2000:2000 aaugusto11/cactus-example-cbdc-bridging-frontend`

Visit `localhost:2000` and interact with the application. Do not change the port in your local machine, otherwise, the api servers might reject the requests.
### Running manually in live-reload mode

In a second terminal run (in the project root):

1. `cd examples/cactus-example-cbdc-bridging-frontend`
2. `npm i`
3. `npm start`

Visit `localhost:2000` and interact with the application. Do not change the port in your local machine, otherwise, the API servers might reject the requests.

0 comments on commit a86adc9

Please sign in to comment.