Quickstart
Garden is an all-in-one DevOps automation platform that enables you to build, test, and deploy your applications and infrastructure in a single, unified workflow.
In this quickstart guide, we'll:
Install Garden
Deploy an example project it to a local Kubernetes cluster
If you don't have Kubernetes installed, you can check out our guide on installing local Kubernetes or simply skip that step.
Step 1 — Install Garden
Install the Garden CLI for your platform:
For more detailed installation instructions, please see our Installation guide.
Step 2 — Clone the example project
Next, we clone the example project from GitHub and change into the project directory:
Then login to Garden Cloud by running the login command from inside the project directory you just cloned:
Step 3 — Build and deploy the project
Now we can deploy the example project to our local Kubernetes cluster. We'll deploy the project in sync mode which enables live code syncing and starts the dev console:
This will build all the containers in this project with the Garden Remote Container Builder and deploy them to your Kubernetes cluster. You can now visit the example project via the link output by Garden.
The quickstart also comes with some tests of the unit and end-to-end variety. To run your unit test, just run test unit
. To run your end-to-end test, run test e2e
. Easy!
The project itself doubles as an interactive guide that walks you through some common Garden commands and workflows. We encourage you to give it a spin!
Next Steps
Now that you have Garden installed and seen its basic capabilities it's time to take the next steps.
Start by checking out the Garden basics guide which covers the main concepts that you need to understand.
After that you can either go through first project tutorial which explains step-by-step how to add Garden to an existing project. Or you can check out the Next Steps guide which gives you a more high level but still step-wise overview of how to adopt Garden and add it to your stack.
If you have any questions or feedback—or just want to say hi 🙂—we encourage you to join our Discord community!
Last updated
Was this helpful?