Files
rubix-deploy/README.md
T
Sinisa Madzar a8fa36390c 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
2026-05-31 22:39:31 +02:00

28 lines
905 B
Markdown

# rubix-deploy
Bootstrap **step 1** for new Rubix servers (install app from Gitea release).
**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
```bash
wget -O install-rubix.sh \
https://gitea.dialer.work/swissdatabase/rubix-deploy/raw/branch/main/install-rubix.sh
chmod +x install-rubix.sh
sudo ./install-rubix.sh
```
`install-rubix.sh` still prompts for a **Gitea token** to download the private **rubix** release zip — only `rubix-deploy` is public.
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.