Lepovirta / Crystallize

"to change into a solid form that is made up of crystals"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

Formalize it

A form which 1) turns answers into a neat PDF & 2) Saves them for later viewing for admins.

User scenario

  • 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 scenario

  • Admin arrives to admin UI, inputs username/password
  • Admin browses the sent PDF's
  • Admin downloads PDF's

Installation

Install following tools:

  • stack
  • wkhtmltopdf

Setup

Go to project folder and run setup script:

script/setup

Run

Run the app:

script/run

Tests

Tests can be run with the following script:

script/test

Deployment

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

About

"to change into a solid form that is made up of crystals"

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 45.3%Language:HTML 28.6%Language:CSS 13.5%Language:Shell 6.6%Language:JavaScript 6.1%