Skip to content
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:

For Ruby Developers

The easiest way to run require neo4jr-social is to follow the above option. For the more adventurous:

Embedded in a rackapp

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

As a rackapp

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

For Java Developers

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

Clone this wiki locally