2024-01-06 05:25:07 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2024-12-03 04:09:32 +00:00
|
|
|
source .env
|
|
|
|
|
2024-12-08 21:51:53 +00:00
|
|
|
rm -rf data/site.db
|
2024-12-03 04:09:32 +00:00
|
|
|
mkdir -p data
|
|
|
|
|
|
|
|
cat "sql/setup.sql" | sqlite3 "${DB}"
|
|
|
|
|
2024-01-06 05:25:07 +00:00
|
|
|
node dist/generate
|