A custom gateway makes it possible to run custom or private extensions without forking or rewrites.
The scaffolding tool will create a custom gateway with an example plugin.
clutch base directory, run:
The scaffolding tool will attempt to guess the correct path for Clutch based on the current shell's username and
GOPATH. It will prompt the user to verify the path and customize it if needed.
make api target so the custom gateway is ready to build with one command.
After the scaffolding process has completed successfully, navigate to the path and run
make to build the combined frontend and backend binary.
For more information on building Clutch see the Local Build reference.
The scaffolding tool does not currently support the creation of individual components such as workflows.
Pushing to GitHub
After the custom gateway is created it only takes a few steps to push it to a new remote repository.
- Create a new repository on GitHub, e.g.
example/clutch-custom-gateway, private if desired.
cdto the directory that the scaffolding tool placed the custom gateway.
git remote add origin ssh://firstname.lastname@example.org/example/clutch-custom-gateway
git add .
git commit -m "Initial commit"
git push origin master