Copyright 2011 SRI International
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
There are two recommended approaches to get a new Learning Registry node running using the latest stable code: 1) via an Amazon Machine Instance (AMI) or 2) via installing the code.
Instructions for using an existing AMI are available from http://goo.gl/fhdg3.
The installation instructions below the steps to get a new Learning Registry node running using the latest stable code. These instructions are provided for Windows and have been tested with the Windows 7 64-bit environment.
NOTE: Some code changes had to be made for Windows' machines. Once these have been fully tested and published the doc will be updated to grab the changes to ensure a successful installation.
easy_install pipand it will load pip on your machine, then you can proceed to install the other necessary modules:
pip install virtualenv
mkdir virtualenvand move into that directory
virtualenv lr(lr will be the name of your virtual environment)
pip install pylons
pip install ijson
pip install flup
pip install pyparsing
pip install iso8601plus
After you extract the files, you should see the yajl.dll and yajl_license.txt. The DLL has been tested in:
Copy the yajl.dll file and paste it into C:\Windows\SysWOW64 (in a 64 bit system). For 32 bit systems paste it into C:\Windows\system32
pip install couchdb(Be sure you are inside your virtualenv)
pip install couchapp(Be sure you are inside your virtualenv)
git clone https://github.com/LearningRegistry/LearningRegistry
cd LearningRegistryto move into the LearningRegistry directory
git tag –lto find the latest tag
git checkout [latest tag version](0.23.7 as of May 22nd, 2012)
cd [directory]/[LR Repository]/config
python setup.py install
paster serve development.ini