Phase 3: Run server with custom project directory #151

Closed
mprihoda wants to merge 4 commits from IW-82-phase-03 into IW-82
mprihoda commented 2026-01-20 21:20:46 +00:00 (Migrated from github.com)

Phase 3: Run server with custom project directory

Goals: Enable running the dashboard server with a custom project directory via --project=<path> flag. This allows developers to test UI features in the context of a test project without being physically located in that directory.

Scenarios: 5 verified (see review packet)
Tests: 1 unit, 1 integration

Full review packet

Key Changes

  1. CLI flag (--project=<path>): Accept custom project directory path
  2. CaskServer: Added projectPath constructor parameter
  3. Dashboard route: Loads config from specified project instead of os.pwd
  4. UI indicator: Displays project path when custom project is used

Testing

  • Unit: CaskServer constructor accepts projectPath parameter
  • Integration: GET / uses projectPath for config loading when provided

🤖 Generated with Claude Code

## Phase 3: Run server with custom project directory **Goals**: Enable running the dashboard server with a custom project directory via `--project=<path>` flag. This allows developers to test UI features in the context of a test project without being physically located in that directory. **Scenarios**: 5 verified (see review packet) **Tests**: 1 unit, 1 integration [Full review packet](https://github.com/iterative-works/iw-cli/blob/IW-82-phase-03/project-management/issues/IW-82/review-packet-phase-03.md) ### Key Changes 1. **CLI flag** (`--project=<path>`): Accept custom project directory path 2. **CaskServer**: Added `projectPath` constructor parameter 3. **Dashboard route**: Loads config from specified project instead of `os.pwd` 4. **UI indicator**: Displays project path when custom project is used ### Testing - Unit: CaskServer constructor accepts projectPath parameter - Integration: GET / uses projectPath for config loading when provided 🤖 Generated with [Claude Code](https://claude.com/claude-code)

Pull request closed

Sign in to join this conversation.
No description provided.