Credibility pass: drop dead deploy plumbing, reconcile docs
Remove the unused USER variable and the placeholder guard on a constant DIR from deploy. Move the index's two inline styles into the stylesheet, delete a selector that matched nothing, and use a plain apostrophe in the description. Bring the README and CLAUDE.md file lists and "Adding a build" steps in line with what the pages carry. Credibility pass over the whole repo; the next one can scope from here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
3228416b84
commit
a7c04e5cb7
4 files changed
+19
-19
No files matched your search
@@ -12,6 +12,7 @@ Kestrel's Builds is a static site of craft build write-ups. Builds vary (foam an
|
||||
|
||||
- `index.html` - Site index (HTML/CSS in one file, no JavaScript). One `<a class="build">` card per build, newest first; the newest also has class `first` (full-width card).
|
||||
- `og.png` - OpenGraph image for the index, 1200 x 630
|
||||
- `favicon.svg` - Icon shared by every page
|
||||
- `deploy` - Rsync deployment script
|
||||
- `<build>/` - One folder per build, self-contained: `index.html`, `img/`, `dl/`
|
||||
- `greenman/` - Green Man mask
|
||||
@@ -27,9 +28,12 @@ Kestrel's Builds is a static site of craft build write-ups. Builds vary (foam an
|
||||
|
||||
## Adding a build
|
||||
|
||||
1. Create `<name>/index.html` with its `img/` and `dl/`.
|
||||
2. Add a card to the top of the list in the top-level `index.html`.
|
||||
3. `./deploy -n`, then `./deploy`.
|
||||
`README.md` has the full steps. In short:
|
||||
|
||||
1. Create `<name>/index.html` with its `img/` and `dl/`, the two back links, the favicon link, and its own description, canonical and Open Graph tags with an `og-image.jpg`.
|
||||
2. Add a card to the top of the list in the top-level `index.html` and move the class `first` to it.
|
||||
3. Retake `og.png`.
|
||||
4. `./deploy -n`, then `./deploy`.
|
||||
|
||||
## Development
|
||||
|
||||
@@ -49,7 +53,7 @@ The `deploy` script uses rsync to push to YunoHost (a My Webapp static app, like
|
||||
```
|
||||
|
||||
**Important deployment notes:**
|
||||
- `DIR` in `deploy` is `/var/www/my_webapp__3/www`. The script refuses to run if it is ever reset to the `my_webapp__N` placeholder.
|
||||
- `DIR` in `deploy` is `/var/www/my_webapp__3/www`, this app's web root on the server.
|
||||
- rsync runs with `--delete`: anything on the server that is not in this folder is removed. Do not keep server-only files in the web root.
|
||||
- `HOST=social` is an SSH config alias, the same one pantry uses.
|
||||
|
||||
|
||||
Reference in new issue
Block a user