Ash Framework Book – Part 1

I am now studying the Ask Framework using the beta pragprog book

My hope is that this will be another great addition to the Elixir toolbox in the same way Oban, Absinthe and Commanded have been.

It’s a clever idea providing a bootstrap git repo with the starting point for the project. This allows problems to be fixed early and does not waste pages of the book on spurious setup.

So far I have found my asdf setup did not include nodejs so needed this:
asdf plugin-add nodejs

Asdf setup of erlang can be slow, especially if you don’t have an asdf managed version of the build.
You may need to leave the machine to update for a while.

I prefer to dockerise my db: Here is the docker-compose.yml

version: "3"
services:
  db:
    image: "postgres:11"
    environment:
      - POSTGRES_PASSWORD=postgres
    container_name: "my_postgres"
    ports:
      - "54320:5432"
    volumes:
      - my_dbdata:/var/lib/postgresql/data
volumes:
  my_dbdata: {}

This does require adding port: 54320, to the dev config

Leave a comment