Skip to content

Step 4. Create and deploy component

Create a MACH component

Create a MACH component which we can use in our MACH stack later on.

mach bootstrap component

And follow the wizard to create a new component.

This component can now be pushed to a Git repository.

Deploy your component

It depends on what component you have, but if you've created a component containing a serverless function, that function needs to be built, packaged and uploaded to a component registry.

For a component created with the mach bootstrap command or one of the provided example components, these commands will be enough:

./build.sh package
./build.sh upload

Component deployment

The deployment process of a component can vary.
Read more about component deployments.