mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 02:48:38 -04:00
Create a new Docs module that consolidates PDF and eBook handling into a unified system with subjects and authors support. This replaces the separate PDF/eBook modelers with a single Doc model backed by an alembic migration (rename ebook to doc). Key changes: - New modules/docs package with models, API, extractors, and lib - Subject and author metadata extraction with case-insensitive normalization for cleaner PDF metadata - Frontend Docs pages with AuthorsPage, SubjectsPage using CollectionTable, and doc card deletion - Global search integration for subjects and authors - Generic collection item count support - Frontend file card metadata adjusted to match collection sort - Bump yt-dlp version |
||
|---|---|---|
| .. | ||
| stage2/04-wrolpi | ||
| build.sh | ||
| config.txt | ||
| README.md | ||
Pi-Gen
This directory exists to facilitate the creation of WROLPI Raspberry Pi OS images.
See https://github.com/RPI-Distro/pi-gen
Generate 64bit Raspberry Pi WROLPi image
-
Convert a map PBF file to your initial map DB dump:
docker run --rm -v /home/user/district-of-columbia-230111.osm.pbf:/data/region.osm.pbf lrnselfreliance/osm-map-dumper > pi-gen/stage2/04-wrolpi/files/map-db-gis.dumpThe output is already compressed (PostgreSQL custom format with
--compress 9).Verify the dump format is correct:
file pi-gen/stage2/04-wrolpi/files/map-db-gis.dump # Should show: "PostgreSQL custom database dump" -
Run the build (or, with a specific git branch)
-
Build release branch (default)
sudo ./build.sh -
Build specific branch
sudo ./build.sh -b master
-
-
The images are now in the
pi-gendirectory.