web/scripts
2019-05-29 16:47:03 -05:00
..
vagrant Rename Vagrant provision script 2019-05-21 16:44:00 -05:00
deploy-ebook-to-www Rebuild new releases RSS feed when deploying ebook to www 2019-05-21 16:50:22 -05:00
generate-opds.php Add some server-side infrastructure scripts 2019-05-21 16:44:00 -05:00
generate-rss.php Add some server-side infrastructure scripts 2019-05-21 16:44:00 -05:00
README.md Add script to download books from https://github.com/standardebooks/ and keep them up to date. 2019-05-28 17:29:34 -05:00
reset-php-fpm-opcache Add some server-side infrastructure scripts 2019-05-21 16:44:00 -05:00
sync-ebooks Update sync-ebooks code style 2019-05-29 16:47:03 -05:00

sync-ebooks

To use, call this script with the directory where your ebooks go as its last argument. For example sync-ebooks /standardebooks.org/ebooks or if you want to clone them into this repository sync-ebooks ebooks. If you want progress output, use -v, and if you want detailed git progress output use -vv.

deploy-ebook-to-www

To use, call this script with the directories of the books you want to deploy as its arguments. For example, to deploy all ebooks after using sync-ebooks, run deploy-ebook-to-www /standardebooks.org/ebooks/*. To deploy only The Time Machine by H.G Wells, you would run deploy-ebook-to-www /standardebooks.org/ebooks/h-g-wells_the-time-machine. Note that deploy-ebook-to-www assumes that your webroot is in /standardebooks.org/. To output progress information, use -v or --verbose.