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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user