Skip to content
Stephen Beitzel edited this page Jul 13, 2019 · 1 revision

What It Is

This repository holds the music and scripts that build the yearly band binder for the Silicon Valley Pipe Band.

Building Locally

Look at the README file and look in the Makefile. You'll need to have abcm2ps and some way of turning PostScript files into PDF (Mac OSX Preview, for example, or Ghostscript).

Setting Up A Build Server

The build server can run on a free tier EC-2 instance in AWS. You'll need:

  • gcc
  • curl
  • ghostscript
  • git
  • make
  • pkg-config
  • perl
  • rclone

In addition, you'll want to have some kind of web server that can invoke CGI scripts and can serve SSL. Further, you'll need to have these Perl modules:

  • LWP
  • LWP::Protocol::https
  • JSON

The scripts in the scripts directory assume the system is using systemd. The triggercheck script expects the following environment variables to be set:

  • ZULEIKA_DIR - the place where the push_hook script writes its files. e.g.: /var/tmp/zuleika
  • ZULEIKA_WEBHOOK - the URL to use to post a message to Slack.
  • ZULEIKA_REPO - the directory where the local git repos live. e.g.: /var/tmp/zuleika/repos

The Makefile expects the following environment variables to be set:

  • LOCAL_FOLDER - the local Box sync folder
  • BOX_FOLDER - the full spec + path of the folder to sync on Box
Clone this wiki locally