sul-dlss-deprecated / quimby

Infrastructure big picture reporting tool
Apache License 2.0
0 stars 1 forks source link
application ops

Build Status | Coverage Status

Quimby

URL for SUL production instance:

Quimby is an infrastructure operations big picture reporting tool. It is a rails application that generates a dashboard. The dashboard presents information on servers, codebases, and analytics we can gather on the first two, for projects within SUL-DLSS and SUL-CIDR.

Requirements

This is more what the application was built with; uncertain if older versions will / could work.

  1. Ruby (2.4.1)
  2. Rails (5.1.1 or greater)
  3. Postgres

Installation / Local Setup

Clone the repository

$ git clone git@github.com:sul-dlss/quimby.git

Change directories into the app and install dependencies

$ bundle install

Create the database for the Quimby application, then migrate the schema (if needed).

$ bundle exec rake db:create
$ bundle exec rake db:migrate

Now, you want to load your data. You need to add configuration information to config/settings.yml (see Configuration below for what is required), then run the rake task to load all data.

# after editing config/settings.yml
$ bundle exec rake load_data:all

This will load data from the Quimby data sources into the application database.

Finally, start the local development server:

$ bundle exec rails s

Configuration

For each data source, you are required to have some configuration for access (captured in config/settings.yml). For this instance of the Quimby codebase, if you want to run the load_data:all rake task, you need the following configurations:

Testing

Quimby uses rspec for managing tests and factory girl for generating some of our fixtures class instances. To run tests:

$ bundle exec rake

Deployment

Quimby uses capistrano to deploy. Current it's deployed to a staging machine named sul-quimby-stage and deployed via:

$ bundle exec cap stage deploy

Data Sources