Installation

This section describes how to install the Phone Book Search software contained in the pb-search package. The following topics can be found in this section:

System Requirements

The Phone Book Search software was developed using Ajax Solr and jQuery. The application must reside within a PDS web site deployment because it depends on the CSS configuration and server side includes provided by the site.

Deploying the Application

The software is not compiled but can instead be deployed with a Subversion "external" directory configuration within the PDS Home site directory structure. The desired end point is about/pb-search within the site. From within the top directory of the PDS site deployment (e.g., /data/www/pds/htdocs), change directories to the about directory and perform the following commands to configure and retrieve the "external" directory:

% svn propset svn:externals \
'pb-search https://starcell.jpl.nasa.gov/repo/2010/trunk/portal/pb-search/src/main/webapp' .
% svn update
      

Configuring the Application

The application defaults to accessing the Search Service at https://pds.jpl.nasa.gov/services/search/. If this needs to be modified for a given deployment, edit the pb-search/js/PhoneBook.js file and modify the following block accordingly:

$(function () {
  Manager = new AjaxSolr.Manager({
    solrUrl: 'https://pds.jpl.nasa.gov/services/search/'
  });