Takeout is a Mac-based CLI tool for spinning up tiny Docker containers, one for each of your development environment dependencies. It’s meant to be paired with a tool like Laravel Valet.

With takeout enable mysql you’re running MySQL, and never have to worry about managing or fixing Homebrew MySQL again. But you can also easily enable ElasticSearch, PostgreSQL, MSSQL, Redis, and more, with a simple command.

Current list of services:

  • MySQL
  • PostgreSQL
  • MSSQL
  • ElasticSearch
  • MeiliSearch
  • Redis
  • Memcached
  • MailHog
  • MariaDB
  • Minio
  • InfluxDB
  • DynamoDB

Requirements

Installation

Install Takeout with Composer by running:

composer global require tightenco/takeout

Make sure the ~/.composer/vendor/bin directory is in your system’s “PATH”.

Usage

Run takeout and then a command name from anywhere in your terminal.

One of Takeout’s primary benefits is that it boots (“enables”) or deletes (“disables”) Docker containers for your various dependencies quickly and easily.

Because Docker offers persistent volume storage, deleting a container (which we call “disabling” it) doesn’t actually delete its data. That means you can enable and disable services with reckless abandon.

 

More information at https://github.com/tightenco/takeout

LEAVE A REPLY

Please enter your comment!
Please enter your name here