feat(server): build axum web server for licensing, landing page, and updates

This commit is contained in:
Stevan Freeborn
2026-07-23 11:59:38 -05:00
parent 3b873f41a7
commit 792e6bd859
40 changed files with 3526 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
# Stripe secret key (sk_test_... for development, sk_live_... for production)
STRIPE_SECRET_KEY=sk_test_placeholder
# Stripe Price ID for the CleanCopy product (price_...)
STRIPE_PRICE_ID=price_...
# Ed25519 private key in hex (64 characters)
# Generate with: cargo run --bin license_tool generate-keys production
SIGNING_KEY_HEX=
# SQLite database URL
DATABASE_URL=sqlite:/data/cleancopy.db?mode=rwc
# Directory containing release binaries (mounted into Docker)
RELEASE_DIR=/data/releases
# Directory containing static files (fonts, favicon, logo)
STATIC_DIR=./static
# Server port
PORT=3000
# Public URL of the server (used in checkout redirect links)
APP_URL=https://cleancopy.stevanfreeborn.com