New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

garden-cli

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

garden-cli

A full-featured development framework for containers and serverless

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
decreased by-60.87%
Maintainers
1
Weekly downloads
 
Created
Source

CircleCI

Welcome! Garden is a full-featured development framework for containers and serverless backends, designed to make it easy to develop and test distributed systems.

Status

The project is in early alpha (or developer preview, if you prefer). This means APIs may well change (not drastically, but still), overall stability will improve and platform support is still limited.

All that said, Garden can already be highly useful if the following applies to you:

  • You're deploying to (or transitioning to) Kubernetes.
  • You develop on Mac or Linux.
  • You work mostly with containers today (but perhaps plan on adopting serverless platforms in the future).
  • You really don't want to spend your precious hours building your own developer tooling!

If that sounds right for you, please give it a go and don't hesitate to report issues or come right over to our Gitter for a chat!

Setup

Dependencies

You need to set up the following on your local machine to use garden:

  • Node.js >= 8.x
  • Docker
  • Git
  • rsync
  • Watchman
  • Local installation of Kubernetes

To install Kubernetes, we recommend Docker for Mac/Windows (edge version) on Mac/Windows, and you can use Minikube on any supported platform. You'll just need to configure a kubectl context to point to your local instance.

On Mac, we recommend using Homebrew on Mac to install everything except Docker, but use whatever works for you!

Note that you need to install the edge version of Docker for Mac/Windows in order to enable Kubernetes support. Once installed, you need to open the Docker preferences, go to the Kubernetes section, tick Enable Kubernetes and save. For more information, see here for Mac or here for Windows.

Installation

Once you have the above dependencies set up, simply run

npm install -g garden-cli

Then go on to our getting started guide, or try out the simple hello-world example below to kick things off.

Examples

The examples/ directory contains usage examples for the framework. You might want to start with the hello-world example project, to see an example of basic build, deployment and interaction flows. Take a look around the projects, taking special note of the garden.yml files - it's pretty straightforward, we promise :)

To spin it up, cd to any of the directories under examples/ and run:

garden deploy

Once you've deployed the hello-world project, you can try querying the /hello endpoint:

garden call hello-container/hello

For more details, please head over to our getting started guide.

Contributing

We welcome any and all contributions to Garden! What we're trying to achieve is a big task, and developers have a lot of diverse needs, so we need and appreciate your input, whether it's through code, docs, issues or developing plugins for your needs.

For more detailed guidelines, see CONTRIBUTING.md.

License

Mozilla Public License 2.0 (MPL-2.0)

FAQs

Package last updated on 31 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc