cabalfor building the Haskell codebase, ornixfor managing cabal and building the docker image.
cabal build
zureg attempts to read a configuration file from zureg.json and
/etc/zureg.json.
zureg.example.json contains a skeleton. Most importantantly, you'll want
to configure database.connectionString to point to a postgres database
with write access.
zureg uses AWS SES to send emails.
To be able to send email to the registrants you will need to move your account out of the sandbox. For instructions how to do it, follow: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/request-production-access.html
This exports all attendees to a JSON file. Usage:
cabal run zureg-export export.json
This emails all attendees using a mustache template. Usage:
cabal run zureg-email export.json template.txt statefile subject
statefile is any file where we can write emails to that have already been sent
-- this way we can make sure no double emails are sent if when there are any
issues if the program is killed our the SES API is being weird while sending.