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.
In order to run the application follow these steps:
-
Install TorqueBox v2.0.0.beta3 (download it here and follow these instructions).
-
Clone the project from the git repository:
git clone git://github.com/algorithmica/geograph.git
-
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 'therubyracer'
-
Setup the database (make sure sqlite3 is installed):
jruby -S rake db:setup
-
Deploy the application into TorqueBox by executing this command in the project folder:
jruby -S rake torquebox:deploy
-
Run TorqueBox:
jruby -S rake torquebox:run
-
Run the Socky Websockets server by executing this command in the project folder:
jruby -S socky -c socky_server.yml
-
Open the browser at localhost:8080, signup and you will see the Geograph map.