Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Cloud Foundry - the open platform as a service project
JavaScript Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
conf
db/migrate
docs
lib
static_files
.gitignore
Gemfile
Gemfile.lock
LICENSE.txt
NOTICE.txt
README.md
Rakefile
config.ru

README.md

sauron

software defect data warehouse, extracts defects from multiple sources, normalizes defect information, and provides restful api to access the warehouse.

dependencies

  • ruby 1.9.2-p290 or greater (not tested with 1.9.3)
  • sinatra
  • thin
  • postgresql
  • sqlite3 (for development)
  • activerecord
  • highline

install

  1. clone the source from gerrit
    gerrit clone ssh://reviews.cloudfoundry.org/sauron
  1. bundle install
    bundle install
  1. create a config file
    rake config # input postgresql username and password
  1. create the database
    rake db:migrate
  1. set environment # default is development which uses sqlite3
    export RACK_ENV=production
  1. start up the web server
    bundle exec thin start -d -p <port>   # e.g. bundle exec thin start -d -p 8000
  1. stop the web server
    thin stop

troubleshooting

  • on occassion, the thin stop command fails to shutdown the server in which case you'll need to kill the process manually via the kill command
    kill -9 PID
Something went wrong with that request. Please try again.