Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Recommenders/Attic/TeamServer"

m (Apache CouchDB)
m
Line 32: Line 32:
 
TODO: explain how to set up the cron-job to generate new extdoc and calls models on a nightly basis.
 
TODO: explain how to set up the cron-job to generate new extdoc and calls models on a nightly basis.
  
 +
= Optional Configuration =
 +
 +
== User Friendly URLs ==
 +
The port crunching is not very user friendly. You may consider to use an Apache HTTPD server as proxy to offer user-friendly urls as shown below. With this configuration code recommender services are available under the same url as before but without the port numbers.
 +
 +
<pre>
 +
# in /etc/apache2/mods-enabled/proxy.conf add:
 +
 +
<IfModule mod_proxy.c>
 +
        [...]
 +
 +
        ProxyPass /udc http://localhost:29750/udc
 +
        ProxyPassReverse /udc http://localhost:29750/udc
 +
 +
        ProxyPass /extdoc http://localhost:5984/extdoc
 +
        ProxyPassReverse /extdoc http://localhost:5984/extdoc
 +
 +
        ProxyPass /codesearch http://localhost:29750/codesearch
 +
        ProxyPassReverse /codesearch http://localhost:29750/codesearch
 +
 +
</IfModule>
 +
 +
</pre>
  
  
 
[[Category:Recommenders|Team Server]]
 
[[Category:Recommenders|Team Server]]

Revision as of 07:10, 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.

Optional Configuration

User Friendly URLs

The port crunching is not very user friendly. You may consider to use an Apache HTTPD server as proxy to offer user-friendly urls as shown below. With this configuration code recommender services are available under the same url as before but without the port numbers.

# in /etc/apache2/mods-enabled/proxy.conf add:

<IfModule mod_proxy.c>
        [...]

        ProxyPass /udc http://localhost:29750/udc
        ProxyPassReverse /udc http://localhost:29750/udc

        ProxyPass /extdoc http://localhost:5984/extdoc
        ProxyPassReverse /extdoc http://localhost:5984/extdoc

        ProxyPass /codesearch http://localhost:29750/codesearch
        ProxyPassReverse /codesearch http://localhost:29750/codesearch

</IfModule>

Back to the top