A web app for drawing cards
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ordeal-assets
public
templates
.buildpacks
.gitignore
.perl-archive
LICENSE
Procfile
README.md
app
cpanfile
gitpanfile

README.md

ordeal

An app for drawing cards from one or more decks, for a somehow wide definition of deck. For example... did you ever think that a die is just a deck with six cards inside, where you always draw only one of them?

This app is ready to be deployed via Dokku (there's a post in my blog about it). Otherwise, you might have to put a bit of effort to adapt it.

There are a couple of environment variables that are recognized:

  • ORDEAL_EXPRESSION: the default expression to evaluate. Defaults to avocado@9.
  • SECRETS: used to initialize Mojolicious, put something and separate with spaces when you want to change them. As a matter of fact, this is a bit of cargo-cult for me, I just know I have to set it but no clue about whether it's really useful in this application.

If you want to see a (hopefully) running instance go here.