@callcorpacd/buildcc
v0.1.1
Published
Install and run the CallCorp BuildCC CLI (downloads self-contained binary from the public channel)
Keywords
Readme
@callcorpacd/buildcc
Thin npm wrapper that installs and runs the BuildCC self-contained CLI from the VuePortal Downloads channel.
Install
npm install -g @callcorpacd/buildcc
buildcc --initOr without a global install:
npx @callcorpacd/buildcc --helpDefaults are lab until production Downloads are ready:
| Role | Default |
|------|---------|
| Portal (download binary / channel) | portal.callcorplab.com |
| API (--init login) | api.callcorplab.com |
Channel / host overrides
Channel URL resolution:
BUILDCC_CHANNEL_URL(full URL)BUILDCC_PORTAL_HOST→https://{host}/Downloads/BuildCC/channel.jsonBUILDCC_DOMAIN→ portal host from domain map- Persisted
install-state.jsonChannelUrl - Baked default (
portal.callcorplab.com)
--init API host resolution:
--hostBUILDCC_API_HOSTBUILDCC_DOMAIN→ api host- Baked default (
api.callcorplab.com)
Domain map
| BUILDCC_DOMAIN | Portal | API |
|------------------|--------|-----|
| callcorplab.com (default) | portal.callcorplab.com | api.callcorplab.com |
| callcorp.com or total.care | portal.total.care | api.callcorp.com |
| other (e.g. widgets.com) | portal.{domain} | api.{domain} |
# Production
BUILDCC_DOMAIN=callcorp.com buildcc --init
# Partner
BUILDCC_DOMAIN=widgets.com buildcc --init
# Explicit hosts
BUILDCC_PORTAL_HOST=portal.widgets.com BUILDCC_API_HOST=api.widgets.com buildcc --initChanging portal/domain via env when an older channel is already installed re-downloads the binary.
On first run the resolved channel URL is written to install-state.json so BuildCC auto-update works without the env var.
Publish bake
# lab (default)
npm publish
# production-flavored pack
BUILDCC_DOMAIN=callcorp.com npm packCache / install location
| OS | Path |
|----|------|
| Windows | %LOCALAPPDATA%\CallCorp\BuildCC\ |
| Linux / macOS | ~/.local/share/CallCorp/BuildCC/ |
Binary: current/BuildCC(.exe).
