1. Create a Garden Project
The first thing we'll do is create a Garden project. Remember that you need to have the Garden CLI installed to follow along.
Step 1 — Clone the example application
Start by cloning the example repo and checkout to the tutorial-start
branch:
The example is a three-tier web app with web, API, and database components. Garden is typically used in projects with multiple microservices but we're keeping things simple here to make it easy to follow along.
Step 2 — Create a project
Next, we'll create a project config file in the root of the example with:
This will create a basic boilerplate project configuration in the current directory, making it our project root. It will look something like this:
We have four environments (local
, remote-dev
, ci
, and preview
) and also two provider configurations (local-kubernetes
and kubernetes
).
Step 3 – Enable Remote Container Builder (optional)
We highly recommend using our Remote Container Builder which can significantly speed up container builds for your Garden projects.
To enable it, update your provider configuration like so:
Last updated
Was this helpful?