Open DrewMcArthur opened 5 months ago
of course, the next lines (11 & 12) expect the platform to be debian, so this probably doesn't matter too much, hah. is there any specific reason I can't run a PDS locally on my mac, or in a docker image? just not supported? thanks!
You are totally welcome to run the PDS on a mac! Many of the core developers use macs for development (though I do not myself). I don't think there are too many quirks or differences. It's just docker under the hood.
For the "distribution" that we support in this repo, however, we only support a very specific and limited setup, intentionally. We don't have the technical bandwidth to support many similar-but-slightly-different setups (like FreeBSD, other linux distros, kubernetes, nomad, podman, arm64, etc, etc). In the long run, the way to have things run on many platforms will probably be to have community folks contribute write blog posts or HOWTOs/guides and have those show up in google searches!
Running the installer script locally (for testing some things, not for real hosting) on an M2 MacBook, and getting this
This is because of line 10 in
installer.sh
, which isThis yields
--hardware-platform
isn't an option supported by theuname
on macs, i guess? butuname -m
returns what you're expecting, which isarm64
. So replacing that line withstill outputs the
illegal option -- -
lines, but sets the$PLATFORM
variable correctly, allowing the script to continue.