-
Notifications
You must be signed in to change notification settings - Fork 15
Advance Setup
mdeiters edited this page Sep 13, 2010
·
3 revisions
You can use neo4jr-social with no knowledge of Ruby, JRuby or Java. But for those that what to understand the different deployment options, you have a few options below:
The easiest way to run require neo4jr-social is to follow the above option. For the more adventurous:
Since neo4jr-social was created using Sinatra, it can be deployed as a simple rack application to an existing ruby rack application (though it must run as jruby and not ruby)
require 'rubygems' require 'neo4jr-social' use Neo4jr::Service
Assuming JRuby is installed via RVM (http://rvm.beginrescueend.com/) and the jruby-rack gem is installed.
* git clone git://github.com/mdeiters/neo4jr-social.git * cd neo4jr-social * rvm use jruby * rackup
neo4jr-social is packaged as a war and can be deployed under jetty or tomcat. You can find the WAR file at http://github.com/mdeiters/neo4jr-social/blob/master/jetty-runtime/webapps