Skip to content

trilogyinteractive/voc-public

 
 

Repository files navigation

Voice of the Consumer - Admin Application

Voice of the Consumer (VOC) is a pair of Rails applications collectively capable of first generating and presenting surveys, then collecting and analyzing the results.

This (Public) application is responsible for presenting surveys and collecting responses.

The Admin application is concerned with the administration interface, including site setup, survey creation and versioning, and results processing.

VOC currently works on Rails 3.0.13 and either MRI Ruby 1.9.3-p194 (Linux only) or the Win32 version of JRuby 1.7.1.

Both versions rely on a database in MySQL 5.1 or greater, shared between Admin and Public applications.

Quick Installation and Usage

Note: These instructions presume Ruby/JRuby dependencies have already been met and walk through running a development environment only; setting up to run in production requires additional configuration.

More information is provided in the Admin Wiki.

MRI Ruby 1.9.3-p194

Run bundle install to satisfy gem dependencies.

Check the config/ directory for examples of the YAML configuration files which need to be in place and generate appropriately. The database is set up in the Admin application; as such, the database.yml settings should be identical.

In one command window, start webrick:

rails s webrick -p XXXX

Navigate to the configured port to view a list of surveys which have been published from the administration interface.

Win32 JRuby 1.7.1

Follow steps for MRI Ruby, but prepend jruby -S to all rake and rails commands.

Windows batch scripts have been provided for use with Tomcat (or other Java Servlet container.)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 66.6%
  • CSS 21.9%
  • JavaScript 11.4%
  • Shell 0.1%