Initialize a local app or static site directory before you push it with the Gateways CLI. TheDocumentation Index
Fetch the complete documentation index at: https://docs.gateways.app/llms.txt
Use this file to discover all available pages before exploring further.
init command writes .gateways.yaml in the current directory.
Steps
Run these commands from the app or site folder you want to deploy.Initialize the Gateways project file
Pass the Gateways project slug and environment slug as To upload from a subdirectory by default, pass it as the optional second argument:
project/environment.Sign in if needed
init checks that the project and environment exist and that your account has access.Check the generated file
.gateways.yaml already exists, init updates project, environment, and optional path while preserving fields like email, push_resource, start_commands, and ignore.What gets written
A minimal project file looks like this:.gateways.yaml fields and a fuller example.