Jump to: navigation, search

Difference between revisions of "Recommenders/Attic/TeamServer"

m (Creating Knowledge Bases)
m (Apache CouchDB)
Line 9: Line 9:
 
== Apache CouchDB ==
 
== Apache CouchDB ==
 
* Download CouchDB developer preview from [http://files.couchbase.com/developer-previews/couchbase-single-server-2.0.0-dev-preview/ couchbase.com].
 
* Download CouchDB developer preview from [http://files.couchbase.com/developer-previews/couchbase-single-server-2.0.0-dev-preview/ couchbase.com].
* Install CouchDB  
+
* Install CouchDB.
* Start CouchDB server
+
* Start CouchDB.
 
* Ensure that CouchDB's [http://localhost:5984/_utils welcome page] comes up.
 
* Ensure that CouchDB's [http://localhost:5984/_utils welcome page] comes up.
 
* Change [http://localhost:5984/_utils/config.html os_process_timeout config parameter] from '5000' to '10000' or higher. The exact value depends on the power of your machine and the data you process.
 
* Change [http://localhost:5984/_utils/config.html os_process_timeout config parameter] from '5000' to '10000' or higher. The exact value depends on the power of your machine and the data you process.

Revision as of 04:15, 29 October 2011

Prerequisites

  • Decent Linux/Win/Mac box with 2GHz, 2G RAM and Java 6 or better.
  • Apache CouchDB 2.0 or higher (not officially released)
  • Code Recommenders Team Server 0.4 or higher

Installation

Apache CouchDB

Code Recommenders Team Server

  • Download Code Recommenders latest team server from here.
  • Unzip the server to any directory on your local disc.
  • TODO: needless complexity: Start the server using start.sh/.bat/.exe TODO: Change from platform dependent build to start scripts. We don't need a particular mac build...
  • TODO: missing! how to create databases and views for non-ui based team server? Should we run a startup script if dbs do not exist?

Client Configuration

Update your clients to use the new server instead of Code Recommenders' default server by changing the following urls in Preferences>>Code Recommenders:

Building Models

TODO: Point to a crowd-sourcing page and explain that data needs to be uploaded by the clients into the team server.

TODO: explain how to set up the cron-job to generate new extdoc and calls models on a nightly basis.