28 lines
2.2 KiB
Markdown
28 lines
2.2 KiB
Markdown
# ProgCode.Ru
|
||
|
||
Restored programmer blog: 14 historical posts (2017–2019), topic/search catalog, JSON formatter, legacy WordPress URLs. This clean checkout at `~/tmp/progcode.ru` uses the existing `huncode/progcode` repository; the dirty `~/tmp/progcode` checkout is untouched.
|
||
|
||
## Build and preview
|
||
|
||
```sh
|
||
npm ci --prefix web --no-audit --fund=false
|
||
npm run build --prefix web
|
||
python3 deploy/local-server.py
|
||
```
|
||
|
||
The preview binds 127.0.0.1 on a random free port and writes `.local-service.json` (PID, port, URL). Stop only that PID. See DEPLOYMENT_REPORT.md for the running instance.
|
||
|
||
## Archive and editorial policy
|
||
|
||
`provenance/restoration.json` records URLs, capture times, SHA-256, reuse results, image/missing counts. `provenance/cdx-20261026.json` and control HTML were fetched again on 2026-10-26. The historical corpus was recovered from the owner's existing local archive cache; it is not a claim that all historical site URLs were recovered. Raw captures are data and never executed. No original server code, trackers, comments, downloads or remote embeds are published. Future-dated synthetic editorial corpus is retained in Git history but excluded from publication. New UI/tools and dated safety corrections are explicitly separate from historical text.
|
||
|
||
Five unique archive images are displayed in five articles; 13 missing inline illustrations are disclosed. Recovered third-party images have source attribution; no ownership of their copyright is asserted. Unused editorial imagery and wallpaper are excluded from publication. The home illustration is original CSS/text.
|
||
|
||
## Production
|
||
|
||
Existing `.gitea/workflows/deploy.yml` builds on master, pushes `git.pryanik.synology.me/huncode/progcode:<commit>` and deploys only the existing `progcode` stack via configured manager SSH secrets. It fails if the manager is absent. No global Traefik changes are needed. Static runtime listens on 8080 and has an HTTP healthcheck.
|
||
|
||
## Verification and tracking
|
||
|
||
Run `python3 deploy/smoke.py http://127.0.0.1:<port>` after build/preview; the same script supports public HTTPS. Browser evidence is under `verification/`. Separate project Beads prefix: `webprogcode`; run `bd prime` and `bd list`. No tracker from pupline is used.
|