57cda1281b
Move entire Go tree to archive/go/ preserving history. Add Rust implementation: axum HTTP server, nostr-sdk relay reader, sqlx/SQLite storage, Torznab caps+search endpoints, figment config, clap CLI. Update spec.md tech stack and repo layout to reflect Rust. Add docs/FIPS.md with Mode A/B/C deployment walkthrough. Add Phase 6 (FIPS deployment) to phase plan.
20 lines
430 B
Makefile
20 lines
430 B
Makefile
default: build
|
|
|
|
build:
|
|
cargo build --release
|
|
|
|
run:
|
|
cargo run -- --config /etc/kindexr/config.yaml
|
|
|
|
test:
|
|
cargo test
|
|
|
|
check:
|
|
cargo fmt --check
|
|
cargo clippy -- -D warnings
|
|
|
|
install: build
|
|
install -Dm755 target/release/kindexr /usr/local/bin/kindexr
|
|
install -Dm755 target/release/kindexr-cli /usr/local/bin/kindexr-cli
|
|
install -Dm644 deploy/kindexr.service /etc/systemd/system/kindexr.service
|