Run on any port

This commit is contained in:
Greg Shuflin
2025-02-04 01:29:25 -08:00
parent ac18e3741f
commit e57e758834
3 changed files with 20 additions and 6 deletions

View File

@@ -4,8 +4,8 @@ _default:
export SECRET_KEY := "MHSePvm1msyOkYuJ7u+MtyJYCzgdHCS7QNvrk9ts+rI="
[doc("Run the reader locally in demo mode.")] # don't re-use this secret key
run-local-demo:
cargo run -- --demo
run-local-demo *args:
cargo run -- --demo {{args}}
sqlx-prepare:
DATABASE_URL="sqlite:data.sqlite" cargo sqlx prepare