ReservesDirect 3

From ReservesDirect: Open Source EReserves System

Table of contents

New Features

  • Built using Zend Framework (http://framework.zend.com/)
  • Unit tests with SimpleTest (http://simpletest.sourceforge.net/)
  • Drag-and-drop sortable reserve lists
  • Granular user permissions
  • Extensible ILS integration

Installation

Subversion

Check the code out from the Emory Libraries open source software Subversion repository, https://svn.library.emory.edu/oss/rd3 , placing the working copy in a web-accessible directory on your web server.

$ svn co https://svn.library.emory.edu/oss/rd3/tags/2.97.1-preAlpha rd3

Setup

  1. Create a MySQL database. reserves3 is a reasonable choice. Grant at least SELECT, INSERT, UPDATE, and DELETE privileges on the database to a user. Run the database schema dump, src/db_scripts/db_schema.sql, against the database to create the table structure.
  2. Create a MySQL database for testing reserves3_test is a reasonable choice. Grant at least SELECT, INSERT, UPDATE, and DELETE privileges on the database to a user. Run the database schema dump, src/db_scripts/db_schema.sql, against the database to create the table structure.
  3. Next, copy or rename src/config/config.xml.template to src/config/config.xml. Modify the file, filling in the appropriate username, password, and database names from the previous two steps. At this point you should be able to execute the tests by visiting http://www.example.edu/rd3/tests/groups/allTest.php.
  4. Edit src/public/.htaccess and change the RewriteBase directive to correspond to the base URL on your server. This should be the full path to your working copy, excluding the hostname. At this point you should be able to load the login page, at http://www.example.edu/rd3/src/public/Auth/login.

NOTE: There is no data in the database by default, and there is no default user account. You will not be able to log in without inserting one manually into the users table, and inserting a corresponding MD5-hashed password entry in the special_users table.

Test data

An SQL dump of some test data is available on this wiki. If you would like to test using a pre-populated database, use this dump instead of the one provided with the software.