A form which 1) turns answers into a neat PDF & 2) Saves them for later viewing for admins.
- User scans QR code / arrives to the application via link (in a board game's card)
- User inputs data from her previous gaming session
- After submit, user gets the inputted data in PDF (while saved to server)
- Admin arrives to admin UI, inputs username/password
- Admin browses the sent PDF's
- Admin downloads PDF's
Install following tools:
- stack
- wkhtmltopdf
Go to project folder and run setup script:
script/setup
Run the app:
script/run
Tests can be run with the following script:
script/test
The executable must be built on x86_64-linux
.
Add required info to your .ssh/config
and make sure you are in
authorized_keys
file on the server.
To deploy just run:
script/deploy