Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 683 Bytes

quickstart.macos.md

File metadata and controls

33 lines (24 loc) · 683 Bytes

macOS

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 DATABASE_URL=postgres://postgres:@localhost:5432/apiko_courses

run script to create apiko_courses database compile and install all the extensions:

migrations/bootstrap/bootstrap.sh

and then in a fresh shell update db migrations:

cd migrations/schema
./liquibase.groovy update

If you want to rollback migrations - run:

cd migrations/schema
./liquibase.groovy rollbackCount 9000