claude go reimplement

This commit is contained in:
tyler committed 2026-10-26 20:30:43 -07:00
1 parent 4bcb924158
commit f523c79618
83 files changed
+3714 -3454

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
# Builds the program and runs it against a throwaway copy of the database on port 1612.
# Reads page/script edits from assets/ each time (loads them into the copy).
set -e
cd "$(dirname "$0")/.."
make build
dir=$(mktemp -d "${TMPDIR:-/var/tmp}/kjv-test.XXXXXX")
cp db/kjv.db "$dir/kjv.db"
bin/kjv-api import-assets -db "$dir/kjv.db" assets
echo "test database: $dir/kjv.db"
exec bin/kjv-api -db "$dir/kjv.db" -addr 127.0.0.1:1612