From a94408051e2b92453be162ff23d09f08ae215a70 Mon Sep 17 00:00:00 2001 From: Deeman Date: Fri, 13 Feb 2026 16:10:25 +0100 Subject: [PATCH] update readme --- padelnomics/README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/padelnomics/README.md b/padelnomics/README.md index 73e257c..4fcf819 100644 --- a/padelnomics/README.md +++ b/padelnomics/README.md @@ -1,3 +1,27 @@ # Padelnomics Plan, finance, and build your padel business. + + + + ## CI/CD: + Go to GitLab → padelnomics → Settings → CI/CD → Variables and add: + + ┌─────────────────┬────────────────────────────┬───────────────────────────────────────────┐ + │ Variable │ Value │ Notes │ + ├─────────────────┼────────────────────────────┼───────────────────────────────────────────┤ + │ SSH_PRIVATE_KEY │ Your ed25519 private key │ Mask it, type "Variable" │ + ├─────────────────┼────────────────────────────┼───────────────────────────────────────────┤ + │ DEPLOY_HOST │ Your Hetzner server IP │ e.g. 1.2.3.4 │ + ├─────────────────┼────────────────────────────┼───────────────────────────────────────────┤ + │ DEPLOY_USER │ SSH username on the server │ e.g. deploy or root │ + ├─────────────────┼────────────────────────────┼───────────────────────────────────────────┤ + │ SSH_KNOWN_HOSTS │ Server host key │ Run ssh-keyscan $YOUR_SERVER_IP to get it │ + └─────────────────┴────────────────────────────┴───────────────────────────────────────────┘ + + And on the server side (one-time setup): + 1. Add the matching public key to ~/.ssh/authorized_keys for the deploy user + 2. Clone the repo to /opt/padelnomics + 3. Create .env from padelnomics/.env.example with production values + 4. chmod +x deploy.sh && ./deploy.sh for the first deploy + 5. Point NPM to port 5000