photosite/scripts/generate.sh

11 lines
106 B
Bash

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