Guillotine is how WCBN manages and tracks donations during its annual fundraiser.
In order to work on Guillotine, you’ll need to install Ruby, and Postgres. If you’re on a Mac, you can follow these instructions directly. Otherwise, hopefully they’re useful as Google fodder.
The easiest way to install developer tools on macOS is Homebrew. Install it following the instructions on their website
The package manager for Windows known as Chocolately may (or may not) be useful.
We recommend using rbenv to install the necessary version of Ruby without conflicting with other things that use ruby.
brew install rbenv
cd guillotine
rbenv install # This installs the version specified by the GemfilePostgreSQL is our database. It is possible to install PostgreSQL using Homebrew, but it can be difficult to configure. We recommend using Postgres.app
After checking out the repo, run bin/setup to install dependencies.
The database must have a role guillotine, and the extension pg_trgm.
Start the development server by running rails s. You can also run bin/rails console for an interactive prompt that will allow you to experiment.
Navigate to http://localhost:3000
Bug reports and pull requests are welcome on GitHub at https://github.com/cbothner/guillotine. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The project is available as open source under the terms of the MIT License.