From decc46c876e7b5552f5f5ecac4ee4f1a64ad1d62 Mon Sep 17 00:00:00 2001 From: Sam Scholten Date: Sun, 14 Jun 2026 20:00:15 +1000 Subject: Initial implementation: scrape, serve, UI, container, deployment --- justfile | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 justfile (limited to 'justfile') diff --git a/justfile b/justfile new file mode 100644 index 0000000..74bf926 --- /dev/null +++ b/justfile @@ -0,0 +1,41 @@ +# abvjt — Journal Abbreviation Lookup Service +# +# USAGE: +# just build # Build the binary +# just scrape # Build and scrape WOS data into SQLite +# just serve # Build and start the server +# just dev # Build, scrape, and serve +# just clean # Clean build artifacts and database + +default: + @echo "abvjt — Journal Abbreviation Lookup" + @echo "" + @echo " just build # Build the binary" + @echo " just scrape # Build + scrape WOS data" + @echo " just serve # Build + start server" + @echo " just dev # Build + scrape + serve" + @echo " just clean # Clean artifacts" + @just --list + +# Build the Go binary +build: + go build -o abvjt . + +# Build and scrape WOS data into data/abvjt.db +scrape: build + ./abvjt scrape + +# Build and start the server +serve: build + ./abvjt serve + +# Full development cycle: build, scrape, serve +dev: build + ./abvjt scrape + ./abvjt serve + +# Clean artifacts +clean: + go clean + rm -f abvjt + rm -f data/abvjt.db -- cgit v1.2.3