-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Clone the repository to a folder on your web server. (We used apache on debian with php5.3-fastCGI)
Make sure the following packages are installed: php5 php5-mysql git
If you are running the sql database on localhost make sure you have mysql installed.
Edit the config.php to point to your mysql server and customize your install.
Import date2knight.sql into your mysql server to get the schema and default questions.
There is a mysql server you can use or test on at mysql.owenjohnson.info.
You can configure lots of things about the app in config.php. Look in defaults.php to see what you can change. We don't recommend editing defaults.php because new fields might be missed during an upgrade.
In config.php, there are four fields that can be changed to set the automatic open/close dates. The default is Feb 1-13.
When the poll is open, send people to the place where you have the app installed index.php. It's a good idea to have the kiosk-style stations set up in a public place to get lots of exposure and signups, and and better % of paid participants. There's a special accelerated form that automatically logs people out on instant.php.
Visit admin.php and enter the supersecret password (defined in your config.php).
You can do lots here including keep track of the fundraising, clear the database, pull updates, and view stats.
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 viewed in the dashboard.
In admin.php there is a link to clear the database. It is recommended that you do this once a year before the poll opens.
Log into admin.php and click the tiny pull updates? link at the bottom. It will do a pull operation from this github repo, assuming you cloned from git properly. If you don't have push access, ask your president for access, make a fork, or ask owen@owenjohnson.info to be added to the organization.