Setting Up the Sample App

To get a real feel for Ecto, you’ll want to write and execute some code for yourself, and not just read about it. In Chapter 7, Adding Ecto to an Elixir Application Without Phoenix we walk through all the steps of how to add Ecto to an existing application, but for now, we want to make this as easy as possible.

We’ve created a small Elixir application with Ecto already installed and set up. This app is a very simple music database that you might use to keep track of your music collection. It’s a standard Elixir mix project that comes with Ecto and sample data already baked in. All you need to do is download it, configure it to work with your local database, and you’re ready to go. In this section, we’ll walk you through ...

Get Programming Ecto now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.