Skip to content

Commit 2a4d1b6

Browse files
committed
docs: update environment variable setup instructions for clarity and consistency across platforms
1 parent b94c40c commit 2a4d1b6

1 file changed

Lines changed: 25 additions & 2 deletions

File tree

README.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,18 @@ A powerful web-based configuration and debugging tool for PepperDash Essentials
1717
npm install
1818

1919
# Set environment variables
20+
# macOS/Linux/WSL:
2021
export PROGRAM_HOST=https://your-processor-ip
2122
export PROGRAM_ID=app01
2223

24+
# Windows Command Prompt:
25+
# set PROGRAM_HOST=https://your-processor-ip
26+
# set PROGRAM_ID=app01
27+
28+
# Windows PowerShell:
29+
# $env:PROGRAM_HOST="https://your-processor-ip"
30+
# $env:PROGRAM_ID="app01"
31+
2332
# Start development server
2433
npm start
2534
```
@@ -87,9 +96,23 @@ Builds the app for production to the `build` folder with optimized bundles.
8796
### Environment Setup
8897

8998
**Required Environment Variables:**
99+
100+
*macOS/Linux/WSL:*
90101
```bash
91-
PROGRAM_HOST=https://your-processor-ip # Required: Target processor IP
92-
PROGRAM_ID=app01 # Optional: Application slot (default: app01)
102+
export PROGRAM_HOST=https://your-processor-ip # Required: Target processor IP
103+
export PROGRAM_ID=app01 # Optional: Application slot (default: app01)
104+
```
105+
106+
*Windows Command Prompt:*
107+
```cmd
108+
set PROGRAM_HOST=https://your-processor-ip # Required: Target processor IP
109+
set PROGRAM_ID=app01 # Optional: Application slot (default: app01)
110+
```
111+
112+
*Windows PowerShell:*
113+
```powershell
114+
$env:PROGRAM_HOST="https://your-processor-ip" # Required: Target processor IP
115+
$env:PROGRAM_ID="app01" # Optional: Application slot (default: app01)
93116
```
94117

95118
**Development Prerequisites:**

0 commit comments

Comments
 (0)