change repo path from /opt to /opt/hantim

/opt already exists on Linux systems and git clone refuses to clone
into a non-empty directory.
This commit is contained in:
2026-03-13 11:52:51 -04:00
parent 1220698292
commit 7a5de9be6d
6 changed files with 20 additions and 20 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
# hantim-server
Server provisioning and app management for the hantim webserver. This repo
lives at `/opt` on the server and contains Docker Compose configs, deploy
lives at `/opt/hantim` on the server and contains Docker Compose configs, deploy
scripts, and Gitea Actions workflows for each app.
## Repo structure
@@ -26,9 +26,9 @@ On a fresh Rocky Linux 9 (or compatible) install:
```bash
dnf install -y epel-release
dnf install -y git git-crypt
git clone <repo-url> /opt
git clone <repo-url> /opt/hantim
git-crypt unlock /path/to/git-crypt-key
/opt/setup.sh
/opt/hantim/setup.sh
```
`setup.sh` installs Docker, creates a `deploy` user, sets up the shared Docker