From b4a6fb2dd286868e2f46b1c7b8d995d3c75b3cce Mon Sep 17 00:00:00 2001 From: Jose Lago Date: Tue, 25 Aug 2026 19:52:43 +0200 Subject: [PATCH] docs: add deployment.md with VM access credentials (base64 JSON) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - New docs/deployment.md documents the remote VM (the target for the appe.at subdomains). Credentials are stored base64-encoded and decode to a JSON object with IP, user, and pass. - Verified the credentials work (SSH login) on 2026-08-25. - Linked from docs/README.md (hub) and docs/next-steps.md (subdomains). Co-authored-by: Stephan Charles Co-authored-by: Amelia Hernandez Co-authored-by: Markus Franz Co-authored-by: Sabrina Hota Co-authored-by: Nilüfer Doğan --- docs/README.md | 1 + docs/deployment.md | 53 ++++++++++++++++++++++++++++++++++++++++++++++ docs/next-steps.md | 3 ++- 3 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 docs/deployment.md diff --git a/docs/README.md b/docs/README.md index d723ff0..2208c9d 100644 --- a/docs/README.md +++ b/docs/README.md @@ -27,6 +27,7 @@ system works*; the root [`README.md`](../README.md) is the quick-start. | Attendee app: every screen (Login, Home, Agenda, Scan, …) | [frontend/screens.md](./frontend/screens.md) | | API client (how the app talks to Supabase) | [frontend/api-client.md](./frontend/api-client.md) | | **Admin console** (views, auth guard, QR reset, points, schedule) | [frontend/admin-app.md](./frontend/admin-app.md) | +| **Deployment — VM access (remote host for `appe.at`)** | [deployment.md](./deployment.md) | | **What's next (Redesign Phases 3–6 + later + open items)** | [next-steps.md](./next-steps.md) | ## Reading order diff --git a/docs/deployment.md b/docs/deployment.md new file mode 100644 index 0000000..07b7d60 --- /dev/null +++ b/docs/deployment.md @@ -0,0 +1,53 @@ +# Deployment — VM Access + +Convivo currently runs **entirely on localhost** (see +[backend/supabase-core.md](./backend/supabase-core.md) and +[backend/docker.md](./backend/docker.md)). This page documents the **remote VM** that is +the intended deployment target for the `appe.at` subdomains +(`convivo.appe.at`, `admin.appe.at`, `db.appe.at`). + +> **Status:** the VM is reachable and the credentials below are **verified** +> (last validated 2026-08-25). DNS, TLS, and the reverse proxy in front of the +> Supabase core are **not** set up yet — see +> [next-steps.md](./next-steps.md#cross-cutting--later). + +## VM credentials + +The access details are stored **base64-encoded**. The string below decodes to a +JSON object with the properties `IP`, `user`, and `pass`. + +``` +***REMOVED*** +``` + +### Decode it + +```bash +# Linux / macOS +echo '***REMOVED***' | base64 -d +# -> {"IP":"68.210.96.53","user":"APPE","pass":"***REMOVED***"} + +# Windows (PowerShell) +[Text.Encoding]::UTF8.GetString([Convert]::FromBase64String('***REMOVED***')) +``` + +Decoded JSON: + +```json +{ + "IP": "68.210.96.53", + "user": "APPE", + "pass": "***REMOVED***" +} +``` + +## Connecting + +```bash +ssh APPE@68.210.96.53 +# password: ***REMOVED*** +``` + +> **Security note:** this is a live credential committed to the repository for +> convenience. For a real deployment, prefer **SSH key authentication** and +> rotate this password; treat the repo as readable by anyone with access. diff --git a/docs/next-steps.md b/docs/next-steps.md index a5e22af..31a72fc 100644 --- a/docs/next-steps.md +++ b/docs/next-steps.md @@ -498,7 +498,8 @@ drives slot status (Live/Next/Done) from the **real system clock** or the - **Subdomains** — `convivo.appe.at`, `admin.appe.at`, `db.appe.at` don't exist yet; everything is on localhost. DNS + TLS + a reverse proxy in front of the - Supabase core will be needed for a real deployment. + Supabase core will be needed for a real deployment. The target VM and its + access credentials are documented in [deployment.md](./deployment.md). - **Push notifications** — connection requests are currently seen when the app is opened. (Out of scope for v1.) - **Testing** — no automated tests yet. Candidates: RPC unit tests (points