No description or website provided.
Ruby CSS JavaScript Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib
log
nbproject
public
script
test
vendor
.gitignore
COPYING
COPYING.LESSER
Capfile
Gemfile
LICENSE.txt
README
README.rdoc
Rakefile
config.ru
no
socky_server.yml

README.rdoc

Geograph

This project is part of the Specific Targeted Research Project (STReP) Cloud-TM and is partially funded by the European Commission under the Seventh Framework Programme for Research and Technological Development (FP7 - 2007-2013) with contract no. 257784.

Getting started

In order to run the application follow these steps:

  1. Install TorqueBox v2.3.0 (download it here and follow the install instructions).

  2. Clone the project from the git repository:

    git clone git://github.com/algorithmica/geograph.git
  3. If you did not already, add the cloud-tm modules to torquebox as described here

  4. Install the domain as described here

  5. Install the needed gem libraries: open a shell, cd to the project folder and run

    jruby -S bundle install

    Note: if you are on a linux machine you must add two gems to the Gemfile before executing the bundle install. Open the Gemfile (in the root of the application) and add

    gem 'execjs'
    gem 'therubyrhino'
  6. Setup the database (make sure sqlite3 is installed):

    jruby -S rake db:setup
  7. Add to your /etc/hosts the host madmass-node with your ip-address.

  8. Add to the file bin/standalone.conf in your jboss home:

> JAVA_OPTS="$JAVA_OPTS -Djboss.bind.address=madmass-node"
  1. Install the agent-farm (see here)

  2. Run TorqueBox from the geograph folder: ./scripts/dev_launch.sh

  3. Open the browser at madmass-node:8080, signup and you will see the Geograph map.

  4. Open the browser at madmass-node:8080/farm, signup and you will see the Geograph Agent Farm console.