This project handles respondent map drawing for the BES. (Created by Mark Fredrickson)
- PHP (5.3 or newer) SQLite3
After pulling the repository, build the database:
$ cd db
$ make
Back in the main repository, you can start a webserver with:
$ php -S localhost:8000 -c php.ini -t www
This will start a webserver on your machine on port 8000. Navigate to
http://localhost:8000/drawing to create a map.
/drawingcreates a new map. Optional query string parameters: --visais the YouGov id sent from their servers --postcodeallows pre-specifying the address or postcode -- Examplehttp://localhost:8000/drawing?visa=239393&postcode=SW1A 2AA./drawing/alllists all drawings in the system with links to individual pages