development · quick-guides

Run and access PostgreSQL DB in 30 seconds [4steps]

Quick and simple, as should every technology be. Here's a quick step-by-step to bootstrap and access a local PSQL Database without needing to install it: Pre-req: Docker #TLDR; Ready... Set... Go: mkdir -p $HOME/docker/opt/db/psql docker run --rm --name psql-jbpm -e POSTGRES_PASSWORD=psql@123 -d -p 6543:5432 -v $HOME/docker/opt/db/psql:/var/lib/postgresql/data postgres:9.4 That's it, now you have a local psql… Continue reading Run and access PostgreSQL DB in 30 seconds [4steps]