Run Gateway locally

1. Install Gateway

Graftcode Gateway is the native host process; its CLI command is gg (gg.exe on Windows).

Download a release for your OS from Gateway releases and put gg on your PATH, or run it from the install directory.

PlatformTypical asset
Linux (amd64)gg_linux_amd64.deb — install with dpkg -i, or unpack the binary
Windows (amd64)gg_windows_amd64.msi — install, then run gg.exe from the install location
Windows (arm64)gg_windows_arm64.msi

On Debian/Ubuntu you can also use the documented apt repository (sudo apt install gg after adding the repo).

Verify the install:

gg --help

To host Gateway in a container without a local install, build your own image. There is no official pre-built Gateway image to pull.

2. Build and host

dotnet build ./Pricing/Pricing.csproj
gg ./Pricing/bin/Debug/net9.0/Pricing.dll --types Pricing.PriceService --methods Calculate
Use `gg.exe` on Windows. Pass the built module path explicitly when auto-scan would pick the wrong artifact.

3. Custom ports

gg <module> --port 8080 --httpPort 8081

4. Verify

Check logs for enabled types and successful publication, then open Vision.

Next steps