Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/philschatz/content-producer
https://github.com/philschatz/content-producer
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/philschatz/content-producer
- Owner: philschatz
- License: lgpl-2.1
- Created: 2020-01-29T22:26:48.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T14:07:17.000Z (about 2 years ago)
- Last Synced: 2024-10-13T16:44:06.750Z (3 months ago)
- Language: Shell
- Size: 2.7 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Create a baked pdf for a new book
1. Set `PATH_TO_CNX_RECIPES="/path/to/cnx-recipes"` or prefix each command with it
1. Run `docker-compose run --rm -e HOST=katalyst01.cnx.org fetch-book --with-resources intro-business` to download the cnxml from the server.
- **Note:** To see the list of books available see `./books.txt`
1. Run `docker-compose run --rm assemble-book intro-business` to create the single-file HTML for the book.
- Exercises are fetched when assembling the book. If the book has exercises that are being fetched from the exercises db, it can take 20+ minutes when first assembling a book. After the first time, it should not take as long
1. Run `docker-compose run --rm bake-book intro-business` to convert the single-file HTML locally into the "baked" book.
1. Run `docker-compose run --rm mathify-book intro-business` to convert all the math to svg.
1. Run `docker-compose run --rm build-pdf intro-business` to create the pdf.