taubyte-local-host-launch
Local Host Launch
When to use
Use this skill after domain/resource creation in Dream/local when the goal is to:
- access website/function endpoints by FQDN
- open resources in browser using hostnames
- validate host-based routing
Prerequisites
taubyte-dream-local-operationstaubyte-hosts-file-editor
Steps
- Confirm Dream and universe are running:
dream status universe default - Get FQDN(s) from domain resources:
tau query domain --name <domain-name> - Ensure hosts mappings exist for each FQDN:
127.0.0.1 <fqdn>- run
taubyte-hosts-file-editorautomatically (do not wait for user prompt)
- Ensure local deploy trigger is executed for Dream/local:
docker info dream inject push-all --universe default- if
docker infofails, stop and report Docker as runtime blocker
- if
- Discover serving port:
- Usually from substrate:
dream status substrate - If gateway is used in the universe, use its HTTP port from
dream status universe <name>.
- Usually from substrate:
- Validate by hostname:
curl "http://<fqdn>:<port>/<path>" - If hosts edit is not available, fallback validation:
curl --resolve "<fqdn>:<port>:127.0.0.1" "http://<fqdn>:<port>/<path>" - For browser launch:
- open
http://<fqdn>:<port>/<path>
- open
Output contract
- Always return:
- exact website URL(s),
- exact function URL(s),
- one ready-to-run curl per endpoint,
- whether hosts mapping was auto-applied or requires manual admin edit.
Notes
- Hosts mappings are OS-level and affect browser resolution.
curl --resolveis request-scoped and does not modify system DNS.- For HTTPS tests, prefer
--resolveso hostname/SNI stays correct. - Do not introduce
--generated-fqdn-prefixunless the user explicitly asks for a prefix. - If a function was created with
--template empty, ensureempty.gois implemented before launching local tests.
More from taubyte/skills
verifying-taubyte-functions
Verifies a Taubyte Go function locally via the `taubyte/go-wasi` Docker recipe (preferred over `tau build`, with tmpfs+bind-mount-ro to avoid root-owned artifacts in the source tree), and verifies a function actually serves on Dream by curling the gateway with the right `Host:` header (plus `/etc/hosts` mapping for `*.localtau`). Use when locally compiling a Go function to WASM, when smoke-testing a function before pushing, or when probing a Dream-hosted HTTP function from the laptop.
12creating-taubyte-resources
Creates Taubyte resources non-interactively via `tau new` for domain, website, library, function, application, database, storage, messaging, and service. Encodes the project-vs-application scope rule, the database `min < max` constraint, the website/library `--generate-repository` + import sequence, and the forbidden `--generated-fqdn-prefix` flag. Use when adding any resource to a Taubyte project's config repo.
12diagnosing-dream-builds
Diagnoses Dream local-cloud builds when `tau list/query builds` is empty or unreliable, by hitting the jobs HTTP endpoint directly (`GET /jobs/<project_id>`, `GET /job/<job_id>`) using the GitHub token from `~/tau.yaml`, then downloading logs with `tau query logs --jid`. Use when Dream builds appear silent, the build table is empty after `dream inject`, or you need raw job ids and logs for a failing build.
11taubyte-resource-creation
Scope-aware resource creation workflow. Uses non-interactive mode by default and references the shared flags catalog.
11taubyte-push-build-verify
Pushes config/code and verifies builds/logs. Includes website/library push handling with tau command first, git fallback.
11taubyte-scope-routing
Routes project-level vs application-scoped work; defaults to a website when a browser UI is logically appropriate; avoids unnecessary applications for simple website/function-only tasks unless needed.
11