#!/bin/bash
source .env
if [[ ! -f ${DATABASE_FILE} ]]; then
echo "Please define DATABASE_FILE in the .env file"
exit 1
fi
cat sql/setup.sql | sqlite3 ${DATABASE_FILE}