Install Postgresql11 manually.
Install groovy to run db migrations:
brew install groovy(optional) feel free to specify your database credentials with if you're using some non-default ones:
export PGDATABASE=postgres
export PGUSER=postgres
export PGPASSWORD=""
export PGHOST=localhost
export PGPORT=5432run script to create apiko_courses role, apiko_courses database compile and install all the extensions:
migrations/bootstrap/bootstrap.shand then in a fresh shell update db migrations:
cd migrations/schema
./liquibase.groovy updateIf you want to rollback migrations - run:
cd migrations/schema
./liquibase.groovy rollbackCount 9000