Add VPS step-1 installer for Rubix releases
- install-rubix.sh: apt update/upgrade, token prompt, download rubix zip into /home/www/callcenter - Document clone/raw URLs for rubix-deploy; ignore downloaded zip artifacts
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# rubix-deploy
|
||||
|
||||
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`
|
||||
|
||||
## 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
|
||||
```
|
||||
|
||||
If the repo is **Internal** (not Public), use a token to fetch the script:
|
||||
|
||||
```bash
|
||||
wget --header="Authorization: token <GITEA_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**.
|
||||
|
||||
**Step 2+** (`.env`, Docker, `up.sh`): [swissdatabase/rubix](https://gitea.dialer.work/swissdatabase/rubix) README.
|
||||
Reference in New Issue
Block a user