Files
website/README.md
T

24 lines
1.1 KiB
Markdown

# old-computers.com — static site
Static rebuild of old-computers.com with [Hugo](https://gohugo.io/) (0.158 or newer, tested with
0.167). The content is recovered from the Wayback Machine by the extraction repository
(`../oc`), which generates part of this one.
| Path | Origin |
|---|---|
| `content/{museum,machine-tabs,companies,software,history,magazine,fun}/` | generated, replaced on every `make content` |
| `static/media/` | generated (copied images and documents) |
| `data/slugs.json` | generated, keeps URLs stable between runs — do not delete |
| `content/_index.md`, `layouts/`, `assets/`, `hugo.toml`, `tools/` | written by hand |
| `public/` | build output, not versioned |
## Usage
make content # regenerate from ../oc (OC=path to use another location)
make build # build into public/
make check # build + verify every internal link and image
make serve # preview on http://localhost:1313
make deploy # build and copy to the test server (share must be mounted; see DEPLOY_DIR/DEPLOY_URL)
The site uses relative URLs, so `public/` can be served from any directory of a web server.