1. Create a Garden Project
Last updated
Was this helpful?
Last updated
Was this helpful?
The first thing we'll do is create a Garden project. Remember that you need to have the to follow along.
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.
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
).
To enable it, update your provider configuration like so:
We highly recommend using our which can significantly speed up container builds for your Garden projects.