Skip to content
This repository has been archived by the owner on Nov 11, 2017. It is now read-only.
owen2 edited this page Feb 27, 2011 · 4 revisions

Documentation

Installing

Unpack the archive to a folder on your web server. (We used apache on debian) Make sure the following packages are installed: php5 php5-mysql php5-ldap If you are running the sql database on localhost make sure you have mysql installed.

Edit the connect.php to point to your mysql server. Import date2knight.sql into your mysql server. (if necessary)

Configuring

Configuration has not been added yet, but it will be.

Running the poll

Send people to the place where you have the app installed. The login page is the index of the app. If you are not at Wartburg, the login code in quiz.php won't work because it is trying to connect to a server that won't be available. As people submit the survey, the results should be added to the database.

Administration

Visit /kiosk.php and enter the supersecret password. When you collect money, you can mark people as having paid on this page. After you have marked them as paid, it sends them a thank you email and their report can now be generated. Only people who are marked as paid will show up in the report-all.php report.

Clearing the Database

We haven't added that feature yet, so for now use phpmyadmin. Or add a page that does the truncate table operation.

Clone this wiki locally