Ensure you have Elixir and Erlang installed. I recommend using
asdf to manage multiple Elixir/Erlang versions. To setup
asdf
, follow the setup instructions on the documentation
Make sure you install the elixir
and erlang
plugins for asdf
:
asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git
asdf plugin-add erlang https://github.com/asdf-vm/asdf-erlang.git
Once you have asdf
installed and ready to go, setup the project with the
following:
-
Fork the repo
-
Clone the repo
git clone git@github.com:<your-handle>/elixir_workshop.git
- Change your directory to the workshop
cd elixir_workshop
- Install Elixir and Erlang
asdf install
asdf install
will use the .tool-versions
file in this repo to install a
version of Elixir compatible with this project. Note this may take some time. Go
get yourself some coffee while erlang is compiling ☕️.
mix test