#!/bin/bash
set -e
source .env
rm -rf data/site.db
mkdir -p data
mkdir -p www
cat "sql/setup.sql" | sqlite3 "${DB}"
node dist/generate