Skip to content

Commit 2e595f1

Browse files
DanielHashmiclaude
andcommitted
docs: update CLAUDE.md to use Bash-compatible commands
- Replace all PowerShell code blocks with bash - Update platform description from "Windows with PowerShell" to "Cross-platform (Linux/macOS/Windows with WSL or Git Bash)" - Change Dapr CLI installation to use wget/curl instead of PowerShell invoke-webrequest - All commands now work on Linux, macOS, and Windows with WSL/Git Bash Ensures consistency with cross-platform development and CI/CD environments. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 7f55094 commit 2e595f1

1 file changed

Lines changed: 16 additions & 13 deletions

File tree

CLAUDE.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You are implementing Phase V: Advanced features and cloud deployment to Azure AK
2020
## Build & Run Commands
2121

2222
### Frontend (Next.js 16+)
23-
```powershell
23+
```bash
2424
cd frontend
2525
npm install # Install dependencies
2626
npm run dev # Dev server on http://localhost:3000
@@ -30,7 +30,7 @@ npm run test # Jest tests
3030
```
3131

3232
### Backend (FastAPI)
33-
```powershell
33+
```bash
3434
cd backend
3535
pip install -r requirements.txt # Install dependencies
3636
uvicorn main:app --reload # Dev server on http://localhost:8000
@@ -39,7 +39,7 @@ python -m pytest tests/test_file.py::test_name # Single test
3939
```
4040

4141
### Docker (Phase IV+)
42-
```powershell
42+
```bash
4343
# Build images
4444
docker build -t lifestepsai-frontend:latest ./frontend
4545
docker build -t lifestepsai-backend:latest ./backend
@@ -61,17 +61,20 @@ docker buildx build --platform linux/amd64,linux/arm64 \
6161
```
6262

6363
### Kubernetes (Phase IV+)
64-
```powershell
64+
```bash
6565
minikube start --memory 4096 --cpus 2
6666
helm install lifestepsai ./k8s/helm/lifestepsai
6767
kubectl get pods -w # Watch pod status
6868
minikube service lifestepsai-frontend --url # Get frontend URL
6969
```
7070

7171
### Dapr (Phase V)
72-
```powershell
73-
# Install Dapr CLI (Windows)
74-
powershell -Command "iwr -useb https://raw.githubusercontent.com/dapr/cli/master/install/install.ps1 | iex"
72+
```bash
73+
# Install Dapr CLI (Linux/macOS/WSL)
74+
wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash
75+
76+
# Or using curl
77+
curl -fsSL https://raw.githubusercontent.com/dapr/cli/master/install/install.sh | /bin/bash
7578

7679
# Initialize on Kubernetes
7780
dapr init -k --wait
@@ -331,8 +334,8 @@ Without systematic documentation:
331334
- **Widget Streaming**: Use `ctx.context.stream_widget()`, not agent text output
332335

333336
### Platform
334-
- Development environment: Windows with PowerShell
335-
- All shell commands must be PowerShell-compatible
337+
- Development environment: Cross-platform (Linux/macOS/Windows with WSL or Git Bash)
338+
- All shell commands must be Bash-compatible
336339
- Use forward slashes in path specifications
337340

338341
---
@@ -569,7 +572,7 @@ KAFKA_BOOTSTRAP_SERVERS=kafka:9092
569572
## Testing Strategy
570573

571574
### Backend Testing
572-
```powershell
575+
```bash
573576
# Run all tests
574577
cd backend
575578
python -m pytest tests/
@@ -590,7 +593,7 @@ python -m pytest tests/test_tasks.py::test_create_task
590593
- MCP tools: 100% (stateless, testable)
591594

592595
### Frontend Testing
593-
```powershell
596+
```bash
594597
# Run all tests
595598
cd frontend
596599
npm run test
@@ -691,7 +694,7 @@ npm run test -- TaskForm.test.tsx
691694
7. Document: `/sp.phr`
692695

693696
### Essential Commands
694-
```powershell
697+
```bash
695698
# Frontend dev
696699
cd frontend && npm run dev
697700
@@ -719,7 +722,7 @@ kubectl apply -f dapr-components/
719722
```
720723

721724
### Quick Debug
722-
```powershell
725+
```bash
723726
# Check backend health
724727
curl http://localhost:8000/health
725728

0 commit comments

Comments
 (0)