Skip to content
pld edited this page Sep 13, 2010 · 2 revisions

Pairwise Web Service

Build of pairwise web service.

Ownership

Copyright © 2009, Peter Lubell-Doughtie and the Trustees of Princeton University. All rights reserved. See the file LICENSE for license information.

Database

Based on pairwise_schema.pdf

Log Analysis

  • ./vendor/plugins/oink/bin/oink —threshold=1 log/development.log
  • ./vendor/plugins/oink/bin/oink —threshold=1 log/production.log
  • pl_analyze log/development.log
  • pl_analyze log/production.log

Notes

Requirements

  • AASM
  • Haml
  • LibXML
  • Linalg
  • Oink
  • RSpec

Credentials

Credentials must be added to the following files:

  • config/database.yml
  • config/deploy.rb
  • config/environment.rb
  • config/mailer.yml
  • config/initializers/site_keys.rb
  • db/bootstap/users.yml
  • lib/constants.rb

Deloy

  • config/deploy.rb set to current tag
  • config/environment.rb set PRODUCTION
  • If updated, new C RSVD code must be compiled on server