https://github.com/polettix/ordeal-webapp
A web app for drawing cards
https://github.com/polettix/ordeal-webapp
cards deck dokku imagination story-telling
Last synced: about 1 year ago
JSON representation
A web app for drawing cards
- Host: GitHub
- URL: https://github.com/polettix/ordeal-webapp
- Owner: polettix
- License: other
- Created: 2018-04-21T15:08:31.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-03-09T23:32:20.000Z (over 3 years ago)
- Last Synced: 2025-02-07T18:53:18.610Z (over 1 year ago)
- Topics: cards, deck, dokku, imagination, story-telling
- Language: Perl
- Homepage: https://ordeal.introm.it
- Size: 5.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## `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][dokku] (there's [a post in my
blog][dytp] 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][ordeal].
[dokku]: http://dokku.viewdocs.io/dokku/
[dytp]: https://blog.polettix.it/dokku-your-tiny-paas/
[Mojolicious]: https://metacpan.org/pod/Mojolicious
[ordeal]: https://ordeal.introm.it