From a8fa36390ce36da45d4b578bd3287ccf36c79358 Mon Sep 17 00:00:00 2001 From: Sinisa Madzar Date: Sun, 31 May 2026 22:39:31 +0200 Subject: [PATCH] Clarify public HTTPS for VPS vs SSH for developers - VPS wget uses full gitea.dialer.work URL without auth for rubix-deploy - Document gitea SSH remote for pushes; token still required for private rubix zip --- README.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 7de13be..fcd349f 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,14 @@ Bootstrap **step 1** for new Rubix servers (install app from Gitea release). -**Repository:** https://gitea.dialer.work/swissdatabase/rubix-deploy -**Clone:** `git clone https://gitea.dialer.work/swissdatabase/rubix-deploy.git` +**Public repo (VPS / any client):** full HTTPS URLs — no SSH, no token for this script. + +**Developers (your PC, `~/.ssh/config` alias):** + +```bash +git remote add gitea git@gitea.dialer.work:swissdatabase/rubix-deploy.git +git push -u gitea main +``` ## On a new VPS @@ -14,13 +20,8 @@ chmod +x install-rubix.sh sudo ./install-rubix.sh ``` -If the repo is **Internal** (not Public), use a token to fetch the script: +`install-rubix.sh` still prompts for a **Gitea token** to download the private **rubix** release zip — only `rubix-deploy` is public. -```bash -wget --header="Authorization: token " -O install-rubix.sh \ - https://gitea.dialer.work/swissdatabase/rubix-deploy/raw/branch/main/install-rubix.sh -``` - -The script: `apt update` + `apt upgrade`, installs tools, asks for token, creates `/home/www/callcenter`, downloads **rubix**. +The script: `apt update` + `apt upgrade`, installs tools, creates `/home/www/callcenter`, downloads **rubix**. **Step 2+** (`.env`, Docker, `up.sh`): [swissdatabase/rubix](https://gitea.dialer.work/swissdatabase/rubix) README.