Skip to content
Railgrid Docs
Sections
Open console

Enter a topic to search documentation.

    railgrid sandbox

    Drive a development-mode instance: sync, exec, logs, restart, status

    Synopsis

    Drive a development-mode infrastructure Instance (for an App Studio project, <project>-dev) through the hub data plane, as you.

    Component paths are relative to the component’s workspacePath: for the application template, sync api/ to component “api” and web/ to “web”. Production instances answer 409.

    Terminal
    railgrid sandbox sync    shop-dev api ./api
    railgrid sandbox exec    shop-dev api -- node -e 'console.log(1)'
    railgrid sandbox logs    shop-dev api -f
    railgrid sandbox restart shop-dev api
    railgrid sandbox env     shop-dev api PULSE_URL=https://… --restart
    railgrid sandbox status  shop-dev [api]

    Terminal
    railgrid sandbox [flags]

    Options

    TEXT
      -h, --help               help for sandbox
          --org string         Organization display name or UUID (default: the org that owns the kubeconfig's workspace)
          --workspace string   Workspace display name or UUID (default: the workspace the kubeconfig points at)

    Inherited options

    TEXT
          --insecure-skip-tls-verify   Skip TLS certificate verification when talking to the hub
          --kubeconfig string          Path to the kubeconfig file (default: $KUBECONFIG, then ~/.kube/config)

    See also