For all the scripts in script/ you can see what they do at a high level by running:
grep '##' script/*To install dependencies needed run:
script/bootstrapIf you pull and things don't work as expected, to update run:
script/updateStart the local dev server by running:
script/serverIf you are using Colima instead of Docker for running your pods you need to add some config to make testcontainers work. The solution is to:
sudo ln -s /Users/$USER/.colima/docker.sock /var/run/docker.sock, to make sure the colima socket is available where tools expect it by defaultcolima stop && colima start --network-address, to make sure Colima is exposing an IP address to your computer- Get the IP address colima is exposing:
colima lscopy from the address field - Make these environment variables available, for example in
.bash_profile:export TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE=/var/run/docker.sock export TESTCONTAINERS_HOST_OVERRIDE=<paste IP address from colima ls> - Run
script/testand it should all work