authserver/homestead/scripts/create-postgres.sh
author rougeronj
Tue, 08 Sep 2015 10:30:55 +0200
changeset 99 72a7ff5f8fad
parent 8 5a0cbbe0922a
permissions -rw-r--r--
update styles and add teacher's and markers' styles

#!/usr/bin/env bash

DB=$1;
su postgres -c "dropdb $DB --if-exists"
su postgres -c "createdb -O homestead '$DB' || true"