commit c4afd3c2533b00dfc47c29a947c68321c805c3ae Author: marijo Date: Tue Jun 23 13:11:25 2026 +0000 Initial qr webpage scaffold diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c317064 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +AGENTS.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..a673ba3 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# qr + +Static webpage intended to be hosted at: + +```text +192.168.0.226:/var/www/html/qr +``` + +## Deploy + +```bash +./deploy.sh +``` + +The deployment helper uses `rsync` and can be overridden with: + +- `QR_DEPLOY_HOST` (default: `192.168.0.226`) +- `QR_DEPLOY_DEST` (default: `/var/www/html/qr`) diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..f025627 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +set -euo pipefail + +HOST="${QR_DEPLOY_HOST:-192.168.0.226}" +DEST="${QR_DEPLOY_DEST:-/var/www/html/qr}" + +rsync -av --delete \ + --exclude '.git/' \ + --exclude 'AGENTS.md' \ + --exclude '.DS_Store' \ + ./ "${HOST}:${DEST}/" + +echo "Deployed to ${HOST}:${DEST}" diff --git a/index.html b/index.html new file mode 100644 index 0000000..2f9eaea --- /dev/null +++ b/index.html @@ -0,0 +1,19 @@ + + + + + + QR + + + +
+

QR

+

QR webpage placeholder.

+
+ +