/inquiry

Simple web survey application

Primary LanguagePerl

NAME

Inquiry

PURPOSE

Perl application allowing to build web surveys. The survey is built randomly from a given set of questions, the questions are shuffled. Various features of the questions and answers might be specified - see enclosed lib/Inquiry/Survey.pm.

The web interface is built upon Dancer.

DEPENDENCIES

To install Dancer, run cpan Dancer in your shell. For production, the Starman webserver is used over Plack. Run cpan Starman and cpan Plack to install them. The SQLite database is used to store the results, run cpan DBD::SQLite to install its driver and cpan DBI to install the database interface.

INSTALLATION

Just clone the github repository. In bin/start.sh, set up a port for the production service.

Then populate inquiry.txt with settings and questions. You can run bin/app.pl to run a development version on localhost:3000.

The results can be browsed at URL:PORT/table.

AUTHOR

(c) E. Choroba, 2012 - 2013