No description, website, or topics provided.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
config
db
deploy
doc
lib
log
public
script
test
vagrant
vendor
.gitignore
.ruby-version
Capfile
Gemfile
Gemfile.lock
Guardfile
LICENSE
README.markdown
Rakefile
Transition Notes
Vagrantfile
config.ru

README.markdown

Open Thanks

Higgins Armory Catalog

Introduction

A searchable, online catalog for the Higgins Armory Museum. The Higgins Armory collection of 4,000 or so artifact is one of the few signifiant collections of medieval arms and armor outside of Europe.

Features

  • Artifact of the Day
  • Search by keyword, location, accession_number
  • Filter and brwose by date

Rails Rumble

This application was initially built in 48 hours for the 2012 Rails Rumble.

Dependencies

  • Ruby 1.9.3
  • Rails 3.2
  • Elastic Search
  • PostgreSql (though it should also run fine on MySql and SqlLite)

Getting Started

Setting up in OS X

  1. Download and install VirtualBox (https://www.virtualbox.org/)
  2. Download and install Vagrant (http://www.vagrantup.com/downloads)
  3. Git clone this repo into a new project directory
  4. Get zip file with csv data
  5. Unzip into db/higgins_data in your project directory
  6. Get the zip file with the object photos in it.
  7. Unzip that into the db/higgins_data directory

Starting the app

  1. Copy config/application.yml.sample to config/application.yml
  2. Get SMTP and Akismet authentication and add to file -- secrets will be taken care of later
  3. vagrant up
  4. vagrant ssh
  5. In your vagrant shell
    1. cd /vagrant
    2. Use rake secret to create the SESSION_SECRET and add to application.yml
    3. Use rake secret to create the DEVISE_SECRET and add to application.yml
    4. rake test
    5. rails server
  6. Go to http://localhost:3000 in your browser

Contributing

If you wish to contribute to this project, or use it in another setting your best bet is probably to contact me first, to discuss your idea.