Instantly share code, notes, and snippets.

Embed
What would you like to do?
JSONB master class

Prerequisites

Install docker & docker-compose

Pull postgres image

docker pull aidbox/db:11.1.0-3-g7a1dab6

Install psql or any sql terminal\editor

sudo apt-get install -y postgresql-client depend on your OS
# or
brew install postgresql@11

https://www.pgadmin.org/ https://dbeaver.io/

Clone https://github.com/fhirbase/master-class repository

Run

git clone https://github.com/fhirbase/master-class
cd master-class
source .env
docker-compose up -d

Test connection to database

source .env
psql

Load test data set:

curl https://storage.googleapis.com/aidbox-public/masterclass_dataset.sql.tar.gz | gunzip | psql

If not docker - install PostgreSQL 11 & jsquery on your laptop.

Any questions @ https://t.me/joinchat/CePjzxT-RKX0SzuNUTzVag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment