Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Don't Cry When Your Dev Dependencies Die

Don't Cry When Your Dev Dependencies Die

You're supposed to treat your servers like cattle, not pets. But what about your local dependencies? With Takeout, you can spin your instances of MySQL, PostgreSQL, Redis, Memcached, and more up and down without a care. Pairs perfectly with Valet.

Matt Stauffer

August 26, 2020
Tweet

More Decks by Matt Stauffer

Other Decks in Technology

Transcript

  1. Tools we use daily • Some are super visible, like

    our IDE, or our database management tool • Some less so, like our shell, or our OS • Some, if effective, are nearly invisible; e.g. our local hosting environment
  2. How do we know which is the best? 0 25

    50 75 100 Ease of use Ease of modification Resource usage Production Parity Docker Homestead Valet
  3. Common Laravel local environments Full Docker (Vessel, Laradock, etc.) Homestead/

    Vagrant Valet + Homebrew DNS/serving/nginx PHP, core deps MySQL, Redis, etc. Packaged with Valet Managed by Valet Managed by you
  4. Common Laravel local environments Full Docker (Vessel, Laradock, etc.) Homestead/

    Vagrant DNS/serving/nginx PHP, core deps MySQL, Redis, etc. Packaged with Valet Valet + Docker (Jose-style) Packaged with Valet Managed by Valet Managed by you Managed by Valet Valet + Homebrew
  5. DON’T CRY WHEN YOUR DEV DEPENDENCIES DIE @stauffermatt @josecanhelp Jose

    saved the day $ docker run -d —p 3306:3306 \ -e MYSQL_ROOT_PASSWORD=password \ -v mysql_data:/var/lib/mysql \ library/mysql:latest
  6. What is it? A macOS tool for installing & managing

    development environment dependencies using Docker.
  7. Side notes • macOS-only—for now—but we ❤ Linux & Windows!

    • Takeout ❤ Valet • Valet :: PHP/Nginx/etc. Takeout :: MySQL/Redis/etc.
  8. 1. Install Docker 2. Install Takeout 3. Use Takeout 4.

    […] 5. Profit Installing Takeout
  9. What do we want from you? • Try it out!

    • Share your thoughts with us • Contribute (for Linux, for Windows, GUI, etc.): github.com/tightenco/takeout • Check out Jose's YouTube to learn more: youtube.josecanhelp.com