chore(install): add reproducible local setup
CI / test (pull_request) Canceled after 0s

This commit is contained in:
thanhnv
2026-08-11 17:51:21 +07:00
parent 414eaddca3
commit b7d223673e
7 changed files with 267 additions and 4 deletions
+7 -4
View File
@@ -6,20 +6,23 @@ The Cowork Team owns this product and its stable branch. The FSG AI Core Team co
## Quick start
The imported application is a Python/PySide6 package. Run it from the directory that contains `cowork_local`:
Install the Python/PySide6 desktop application into an isolated environment:
```bash
python -m cowork_local
./scripts/install_local.sh
./scripts/run_local.sh
```
The source snapshot does not include a complete runtime dependency manifest. Use the Cowork Team's supported runtime environment until that packaging contract is documented. The reliable automated test surface currently checked by CI is:
The installer also creates `~/.local/bin/cowork-local` when that path is available. See [docs/installation.md](docs/installation.md) for prerequisites, configuration, verification, optional document tooling, and platform limitations.
The reliable automated test surface checked by CI is:
```bash
python -m pip install -r cowork_local/requirements-test.txt
python -m pytest cowork_local/tests -q
```
When already inside this repository, run `python -m pytest tests -q`.
When already inside this repository, run `.venv/bin/python -m pytest tests -q`.
Configuration and runtime data live under `~/.cowork_local/`. Provider keys and local unlock codes must be supplied through environment variables or an approved secret manager; see `.env.example`.