Quick Start¶
Recommended Paths¶
-
Base Runtime
Install ChatUp, then run
chatup doctorandchatup uvto verify the CLI and Python runtime; select an exact Chrome for Testing or Playwright backend according to the consumer. -
Workspace
Use
chatup workspace ~/Playgroundto initialize the ChatArch collaboration layout. -
Local Services
Prepare
gitea,mysql,nginx, andcrsas needed; defaults stay under~/.chatarch/....
Install¶
For source development or local validation, use an editable install:
In the default ChatArch runtime, ChatUp is often installed into ~/.chatarch/venv:
Prepare the Python Runtime¶
Default behavior:
- Install or reuse
uv. - Create
~/.chatarch/venv. - Use Python 3.12 by default.
--activateis enabled by default: after creating or reusing the environment, update the auto-activation block in existing~/.bashrcand~/.zshrc. It takes effect in the next matching shell; the current shell still needssource <venv>/bin/activate.- Do not create missing rc files. Reuse ChatUV markers without duplicate blocks and preserve user content outside them. Write and sync before atomically replacing each file, preserving permissions and symlinks; failed writes leave the original file intact. Windows does not modify Bash/Zsh configuration.
To prepare the environment without changing startup configuration:
--no-activate does not remove a previously configured activation block. To stop existing auto-activation, manually remove the block between # >>> chatuv activate >>> and # <<< chatuv activate <<< in the corresponding rc file.
Python callers can use setup_uv(shell_activate=False). Call chatup.setup.uv.configure_shell_activation(venv_path, home=...) to update existing rc files separately; it returns updated, unchanged, missing, and skipped.
To customize the target:
Install the Chrome for Testing Browser¶
This installs Google Chrome for Testing under ~/.chatarch/chrome-for-testing without modifying system Chrome. Use JSON when handing the result to another program:
When a proven task depends on a Playwright-managed browser, install an exact Playwright version:
The Playwright package and browser cache stay under ~/.chatarch/playwright; Docker is not required. Profiles, extensions, and accounts remain consumer-owned.
Only Selenium/WebDriver consumers need the independent ChromeDriver backend:
See CLI Tree for all options and the Python API.
Initialize a Workspace¶
This creates the base ChatArch workspace structure:
Install Local Services¶
Install ChatArch Gitea:
Prepare a ChatData-compatible MySQL runtime:
Prepare user-level NGINX:
Generate an NGINX reverse-proxy config:
chatup nginx proxy-pass ./gitea-local.conf \
--set SERVER_NAME=gitea.local.example.invalid \
--set PROXY_PASS=http://127.0.0.1:3000
Install a local Claude Relay Service:
chatup crs prepares the local Redis component and CRS configuration. The default smoke check expects the service to start. To prepare files without starting the service, pass both flags:
Interactive Mode¶
ChatUp uses the shared interaction convention:
-i: force prompts.-I: disable prompts, suitable for CI, scripts, and automation.CHATARCH_AUTO_PROMPT=0/false/no/off: disable automatic prompts.- Commands may prompt for recoverable missing values; unrecoverable missing values should fail fast.