remove new-app.sh, update docs to reference app.sh directly
This commit is contained in:
@@ -28,7 +28,7 @@ scripts/
|
||||
configure.sh # Idempotent server config (CI-safe)
|
||||
deploy.sh # Deploy + provision (called via SSH)
|
||||
tools/
|
||||
new-app.sh # Add a new static site (run from dev machine)
|
||||
app.sh # Add a new static site (run from dev machine)
|
||||
new-service.sh # Add a new Docker service (run from dev machine)
|
||||
remove-app.sh # Remove a static site (run from dev machine)
|
||||
docker/
|
||||
@@ -73,7 +73,7 @@ server. Everything is idempotent.
|
||||
## Adding a new static site
|
||||
|
||||
```bash
|
||||
./tools/new-app.sh <domain>
|
||||
./tools/app.sh all <domain>
|
||||
```
|
||||
|
||||
This single command handles everything: DNS records (Vultr), Gitea repo
|
||||
@@ -186,13 +186,13 @@ Project: `hantim`. Fetched via `bws` CLI on the server.
|
||||
|---|---|---|
|
||||
| `hantim-ci-registry-push` | Gitea token for Docker registry | `bootstrap.sh` |
|
||||
| `hantim-deploy-ssh-public-key` | Deploy user's SSH public key | `bootstrap.sh` |
|
||||
| `hantim-deploy-ssh-private-key` | Deploy user's SSH private key | `new-app.sh` |
|
||||
| `hantim-new-app-script` | Gitea API token for creating repos | `new-app.sh` |
|
||||
| `hantim-vultr-api-key` | Vultr API key for DNS management | `new-app.sh` |
|
||||
| `hantim-deploy-ssh-private-key` | Deploy user's SSH private key | `app.sh` |
|
||||
| `hantim-new-app-script` | Gitea API token for creating repos | `app.sh` |
|
||||
| `hantim-vultr-api-key` | Vultr API key for DNS management | `app.sh` |
|
||||
| `hantim-garage-rpc-secret` | Garage cluster RPC secret | `deploy.sh` |
|
||||
| `hantim-garage-argento-node-id` | Argento's Garage node ID + address | `deploy.sh` |
|
||||
| `hantim-garage-admin-token` | Garage admin API token | `deploy.sh`, `new-app.sh` |
|
||||
| `hantim-garage-media-key-id` | S3 access key ID for media uploads | `new-app.sh`, `aws` CLI |
|
||||
| `hantim-garage-admin-token` | Garage admin API token | `deploy.sh`, `app.sh` |
|
||||
| `hantim-garage-media-key-id` | S3 access key ID for media uploads | `app.sh`, `aws` CLI |
|
||||
| `hantim-garage-media-secret-key` | S3 secret key for media uploads | `aws` CLI |
|
||||
|
||||
Machine accounts: `hantim-server` (token at `/etc/bws-token`), `hantim-ci` (reserved).
|
||||
|
||||
Reference in New Issue
Block a user