Preparing the Application

Let’s start by making sure that you’ve set up your development environment. Your system will need to have the prerequisites listed in the ​System Dependencies​, installed and ready to go, and you’ll need to download the example application source code via one of the methods explained in ​Online Resources​.

Once that’s done, make sure that you’re looking at the directory for this chapter. We’re going to be running a few commands using the mix build tool.

Make sure that you’re running the correct versions of Elixir, just to make sure that you don’t download and compile packages using the wrong version:

​ ​$ ​​elixir​​ ​​--version​
​ Erlang/OTP 20 Build details
​ 
​ Elixir ...

Get Craft GraphQL APIs in Elixir with Absinthe now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.