Giter Site home page Giter Site logo

snaz's Introduction

== Introduciton

This is a small app to demonstrate some of the features of Sunspot. It was 
created to use as a demonstration app for a talk on Solr and Rails.

The application has a Document model and DocumentsController.  The Documents 
are RFCs.  An archive of all of the RFCs and an XML index of them is downloadable
from xforty.com.  

Attempts have been made to get the app running easily.  

== Setups

o Install gems "sudo rake gems:install"

o Init db "rake db:migrate"

o Download the RFCs and the RFC index by running "rake snaz:download_data"

o Start solr "rake sunspot:solr:run"

o Load the data into the DB and Solr "rake snaz:load_documents"

The first and third step both take quite a while.  

=== Persnickety Sunspot.  

Sunspot needs the following to install/ run:

o rsolr - sudo gem install rsolr --source=http://gemcutter.org
o optiflag version 0.6.5 exactly - sudo gem instlal optiflag -v 0.6.5
o haml 2.2.10 - sudo gem install haml

With those on board, the Sunspot gems would finally install

sudo gem install outoftime-sunspot --source=http://gems.github.com
sudo gem install outoftime-sunspot-rails --source=http://gems.github.com

Retrieved XML RFC index and RFCs from http://www.rfc-editor.org/rfc.html

The whole archive was downloaded from ftp://ftp.rfc-editor.org/in-notes/tar/RFC-all.tar.gz


snaz's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.