rbwatson/wlux_test_server — pull request #2 by jmcmanus (2012-11-22 02:41:13+00:00)
Title: Restructuring & new features

Reorganized the server site. Moved instrumentation stuff over to the server.

Added dynamic loading of css, return button, and all the other changes requested in wlux_instrumentation.js from the previous pull request on wlux_test_site, plus a few other bug fixes.

I still need to add enabling/disabling of links but I'd appreciate if you'd go ahead and pull it so the other guys have the most recent version of everything until I get around to finishing it up.

You can now start from localhost/server/start.php, click continue to go to the test site, and the css is updated dynamically (background changes from gray to yellow for now - still need the study data service on the server). You can click around and then click the `End Study` button to go to the end study page, where you can click a link to view the data that was collected.

Updated README.md to document the preferred way to develop using both wlux_test_site and wlux_test_server (so development links work correctly).

The server-side code now has a debug parameter that is set when developing locally. It's used for things like using relative urls to this test_site. If it's false, the actual rbwatson server urls are used.