mvalentsev/dsh-wsl-projects ↗★ 0
dsh-wsl-projects
在WSL2中为每个项目运行独立的DSH服务 适合在Windows下开发WSL2项目,需要为各项目隔离DSH环境的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:mvalentsev/dsh-wsl-projects說明文件
閱讀完整 README ↗Configuration
Add the settings to a profile patch:
- id: wsl-projects
name: dsh-wsl-projects
config:
distro: Ubuntu
projectsRoot: ~/projects
unit: dsh-web.service
defaultPort: 19800
configFiles:
- ~/.dsh/settings.yaml
- ~/.dsh/profiles/web/cordis.patch.yml
| Key | Meaning | Default |
|---|---|---|
distro | The distribution to use. | the WSL default |
projectsRoot | The folder with your projects. | ~/projects |
unit | The systemd user unit that owns the WSL dsh. | dsh-web.service |
defaultPort | The first port for a new service. | 19800 |
configFiles | The files the panel can edit. | the standard dsh files |