Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sarmbruster committed Feb 9, 2014
1 parent fae5ac5 commit 4dcd8da
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
# Neo4j for Grails sample application #

This repository contains a ready-to-go application for using Neo4j as a GORM backend for a Grails application.
Visit the [grails-data-mapping](http://springsource.github.com/grails-data-mapping/neo4j/manual/index.html) for details.
Visit the [grails-data-mapping](http://springsource.github.com/grails-data-mapping/neo4j/manual/index.html) for details.

## hint for graphenedb ##

[GrapheneDB](http://www.graphenedb.com/) provides cloud hosted Neo4j databases. To use the Neo4j grails plugin you need to:

* set in `grails-app/conf/DataSource.groovy`: `type = "rest"`
* set up environment variables, e.g. on Linux:


export NEO4J_HOST="<hostname provided by graphene>" # e.g. neo4jsample.sb01.stations.graphenedb.com"
export NEO4J_LOGIN="<username provided by graphene>"
export NEO4J_PASSWORD="<password provided by graphene>"
export NEO4J_PORT="<portnumber provided by graphene>"

**WARNING: the 1.x series of the Neo4j Grails plugin do not rely on Cypher and therefore the performance with remote
databases is known as been rather poor. This will be fixed in the 2.0 releases of the plugin.**

0 comments on commit 4dcd8da

Please sign in to comment.