I was recently trying to develop some Known schema changes, and had the need to start kicking about Known in a Postgres environment.
Known supports Postgres out of the box, but I admit it’s a less trodden path. I don’t routinely use Postgres (I tend to favour mysql/mariadb, purely because that’s what I’m used to), and it’s usually a pain to switch environments.
I previously built a docker development environment, so I took the obvious (and as it turned out trivial) next step to build a Postgres version.
- Download and install docker
- Add this docker image to known using composer
composer require mapkyca/mapkyca-known-docker-postgres --dev
This will create a docker environment in
- Point your browser at
localhost:8089and install in the usual way