Generates a website and OPDS feed listing the LilyPond partitions hosted on my GitHub account.
- Ruby 3 needs to be installed
- Install the Ruby dependencies (the first line is optional):
BUNDLE_WITHOUT=development bundle install
- Set the environment variables
GITHUB_USER
andGITHUB_TOKEN
:export GITHUB_USER="{{username}}" export GITHUB_TOKEN="{{token}}"
- Download the PDFs from the repositories:
./download_pdfs.rb
- Generate the OPDS feeds:
./generate_opds.rb
cd site
bundle exec jekyll serve --livereload
cd site
bundle exec jekyll build