From da12d5938a1ab530bfc16a514f7fd87816af6778 Mon Sep 17 00:00:00 2001 From: "jonathan.kerr" Date: Mon, 16 Dec 2024 16:02:01 +0000 Subject: [PATCH] Update README for Mac M1 Based on my own experiences of trying to get this to build on my M1 Mac, I've updated the README. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 21eda3526..4a472239b 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,8 @@ Before you start, you will need to have Docker installed and running. You can [d The current Dockerfile and docker-compose were closely copied from [the Docker guide](https://docs.docker.com/compose/rails/). +If you're using a Mac with an M1 chip, you'll need to run `export DOCKER_DEFAULT_PLATFORM=linux/amd64` and turn off Rosetta emulation in Docker Desktop, if you're using it + 1. Run `bin/dbuild` to build and setup the docker environment. 2. Run `bin/drake` to run all the tests and make sure everything works.