7060b5682c
- 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
27 lines
935 B
Markdown
27 lines
935 B
Markdown
# 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.
|