Skip to content

jeandeaual/partitions

Repository files navigation

LilyPond Partitions

deploy test lint

Generates a website and OPDS feed listing the LilyPond partitions hosted on my GitHub account.

Prerequisites

  • 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 and GITHUB_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

Running Jekyll Locally

cd site
bundle exec jekyll serve --livereload

Building the Jekyll Site

cd site
bundle exec jekyll build