Skip to content

Commit

Permalink
PLT-7871 add instructions on how to set env variables for payouts app (
Browse files Browse the repository at this point in the history
…#15)

Co-authored-by: Nicolas Henin <nicolas.henin@iohk.io>
  • Loading branch information
ladamesny and nhenin committed Oct 11, 2023
1 parent bc83e64 commit badb84d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,25 @@ To get the dApp up and running on your local machine, follow these steps:
```bash
npm install
4. **Configure Marlowe URLs in .env**
To ensure the dApp communicates correctly with the Marlowe runtime and scan instances, you need to set the appropriate URLs in the `.env` file.
### Steps:
1. **Open the .env File**:
Navigate to the root directory of your project and open the `.env` file in your preferred text editor.
2. **Set the Marlowe Runtime Web URL**:
Locate the line `MARLOWE_RUNTIME_WEB_URL=<Your-Runtime-Instance>`. Replace `<Your-Runtime-Instance>` with the actual URL of your Marlowe runtime instance.
MARLOWE_RUNTIME_WEB_URL=https://example-runtime-url.com
3. **Set the Marlowe Scan URL**:
Locate the line `MARLOWE_SCAN_URL=<Your-Scan-Instance>`. Replace `<Your-Scan-Instance>` with the actual URL of your Marlowe scan instance.
MARLOWE_SCAN_URL=https://example-scan-url.com
3. **Run the dApp**
```bash
npm run start
Expand Down

0 comments on commit badb84d

Please sign in to comment.