Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.gateways.app/llms.txt

Use this file to discover all available pages before exploring further.

The CLI reads ./.gateways.yaml in your working directory. Create or update it with gateways init.

Common fields

FieldPurpose
project / environmentSlugs for the Gateways project and environment.
emailOptional: pin this folder to a Gateways user; tokens are stored per email in ~/.config/gateways/config.json.
pathDefault directory for uploads (override with gateways push --path).
push_resourceLast-used push target (resource-… or id); set by gateways push or gateways resource.
start_commandsLines run on the server after an upload deploy (e.g. npm ci, npm start).
ignoreGlob patterns excluded from zips and static uploads (see cli/README.md in the repo for pattern rules).
bucket_explorer_id / static_website_idUsed for static deploy and CDN sync flows.
  • Commandsinit, reset, push, resource, and flags.
  • Introduction — Quick start with gateways init and gateways login.