Use ./run.sh
to run misc tasks for this repo. Just cat run.sh
to see what's available,
then ./run.sh <task> [<args>]
.
./run.sh db up -d
Create a database and use the uuid extension:
Launch a psql shell - manually or with ./run.sh db_shell
.
CREATE DATABASE safrs;
\c safrs
CREATE EXTENSION "uuid-ossp";
./run.sh up
./run.sh test