Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLT-7871 add instructions on how to set env variables for payouts app #15

Merged
merged 2 commits into from Oct 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
19 changes: 19 additions & 0 deletions README.md
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