The big challenge (for me) was getting it to run as a service.
Webrick, mongrel and glassfish weren't able to run as daemons with
JRuby, so I used Warbler to deploy it to Tomcat and then proxy that
through Apache. There are probably better/cleaner/neater/safer ways,
but this worked!!!
Feel free to have a play with the site - I'm still working out a few
config issues, and as usual there are plenty of unfinished features
and bugs. It should give you an idea of where things are headed with
the app, although I think the real benefits will come when I add in
user management to provide collaborative interaction around node and
edge data.
NOTE: This is a fairly limited VPS (256MB) with restricted bandwidth,
so please don't hammer it! I'll have to take it down if it gets too
much traffic.
You can grab the source for the app from http://github.com/sashaagafonoff/peoplemap/tree/master
If you've got any suggestions/comments, please let me know - being a
solo project it doesn't get a lot of valuable peer review.
If you're interested in this project, and are looking for ways to
contribute, please let me know. I've got some ideas about where I
could use some help:
- Getting a good unit test structure set up: I'm more of a BA than a
coder, so a lot of this config stuff is a challenge for me: I have
only developed a handful of fairly brittle Selenium tests since I
can't rely on ActiveRecord and fixtures etc because of the way
neo4j.rb works, and it doesn't make sense to do too much dev without
getting a solid test base in place.
- Suggestions/feedback from some experienced coders/architects on
refactoring opportunities in the existing code - I really doubt that
what I've done to date would be very efficient, and I know that a bit
of a glance over the code by some seasoned veterans would make a huge
difference.
- Ideas on how to discard the Flash visualisation component in favour
of a pure Javascript option (perhaps processing.js, JQuery, etc) so
that the UI is cleaner and easier to treat as a single app (also for
easier test automation).
- Implementing a bulk data loader - perhaps using the Batchinserter
from the neo4j guys at http://wiki.neo4j.org/content/Batch_Insert.
- Implementing a really good search capability into the system
Cheers, Sasha
If you want to use the BatchInserter, I have some example code at
http://github.com/peterneubauer/neo4j/blob/master/examples/filetree/features/step_definitions/add_steps.rb,
look at the createBatchSubtree method. It is not pretty, and not
up-to-date with Andreas recent neo4j.rb changes, but you see the
principle. I am using the Java API directly, probably a proper
BatchInserter wrapper would be nicer.
Cheers,
/peter neubauer
COO and Sales, Neo Technology
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter http://twitter.com/peterneubauer
http://www.neo4j.org - Relationships count.
http://gremlin.tinkerpop.com - PageRank in 2 lines of code.
http://www.linkedprocess.org - Computing at LinkedData scale.
> --
>
> You received this message because you are subscribed to the Google Groups "neo4jrb" group.
> To post to this group, send email to neo...@googlegroups.com.
> To unsubscribe from this group, send email to neo4jrb+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/neo4jrb?hl=en.
>
>
>
Thanks for the link to Batchinserter - I will check it out as the next
thing to add - really useful feature to have...
Cheers, Sasha
On Dec 23, 5:05 pm, Peter Neubauer <peter.neuba...@neotechnology.com>
wrote:
> Cool,
> I don't see any visualization though?
>
> If you want to use the BatchInserter, I have some example code athttp://github.com/peterneubauer/neo4j/blob/master/examples/filetree/f...,
> look at the createBatchSubtree method. It is not pretty, and not
> up-to-date with Andreas recent neo4j.rb changes, but you see the
> principle. I am using the Java API directly, probably a proper
> BatchInserter wrapper would be nicer.
>
> Cheers,
>
> /peter neubauer
>
> COO and Sales, Neo Technology
>
> GTalk: neubauer.peter
> Skype peter.neubauer
> Phone +46 704 106975
> LinkedIn http://www.linkedin.com/in/neubauer
> Twitter http://twitter.com/peterneubauer
>
> http://www.neo4j.org - Relationships count.http://gremlin.tinkerpop.com - PageRank in 2 lines of code.http://www.linkedprocess.org - Computing at LinkedData scale.
>
>
>
> On Tue, Dec 22, 2009 at 4:27 PM, Sasha <sashaagafon...@gmail.com> wrote:
> > I've finally managed to get an install of peoplemap up and running
> > permanently on my VPS slice athttp://peoplemap.404.com.au/people
>
> > The big challenge (for me) was getting it to run as a service.
> > Webrick, mongrel and glassfish weren't able to run as daemons with
> > JRuby, so I used Warbler to deploy it to Tomcat and then proxy that
> > through Apache. There are probably better/cleaner/neater/safer ways,
> > but this worked!!!
>
> > Feel free to have a play with the site - I'm still working out a few
> > config issues, and as usual there are plenty of unfinished features
> > and bugs. It should give you an idea of where things are headed with
> > the app, although I think the real benefits will come when I add in
> > user management to provide collaborative interaction around node and
> > edge data.
>
> > NOTE: This is a fairly limited VPS (256MB) with restricted bandwidth,
> > so please don't hammer it! I'll have to take it down if it gets too
> > much traffic.
>
> > You can grab the source for the app fromhttp://github.com/sashaagafonoff/peoplemap/tree/master
>
> > If you've got any suggestions/comments, please let me know - being a
> > solo project it doesn't get a lot of valuable peer review.
>
> > If you're interested in this project, and are looking for ways to
> > contribute, please let me know. I've got some ideas about where I
> > could use some help:
> > - Getting a good unit test structure set up: I'm more of a BA than a
> > coder, so a lot of this config stuff is a challenge for me: I have
> > only developed a handful of fairly brittle Selenium tests since I
> > can't rely on ActiveRecord and fixtures etc because of the way
> > neo4j.rb works, and it doesn't make sense to do too much dev without
> > getting a solid test base in place.
> > - Suggestions/feedback from some experienced coders/architects on
> > refactoring opportunities in the existing code - I really doubt that
> > what I've done to date would be very efficient, and I know that a bit
> > of a glance over the code by some seasoned veterans would make a huge
> > difference.
> > - Ideas on how to discard the Flash visualisation component in favour
> > of a pure Javascript option (perhaps processing.js, JQuery, etc) so
> > that the UI is cleaner and easier to treat as a single app (also for
> > easier test automation).
> > - Implementing a bulk data loader - perhaps using the Batchinserter
> > from the neo4j guys athttp://wiki.neo4j.org/content/Batch_Insert.
Happy New Year
Andreas
Thanks for the suggestion re: svgweb + graphviz, I'll take a look!
Cheers, Sasha
On Dec 28, 10:03 am, Oliver Bruening <obruen...@yahoo.com> wrote:
> you can also use jboss for jruby applications.
>
> what kind of flash component is used in peoplemap ?
>
> i currently try svgweb (http://code.google.com/p/svgweb/) to display graphs that are generated with graphviz. svgweb is great because it can be embedded in the dom of an html page.
>
> best regards
> oliver
>
> ________________________________
> Von: Sasha Agafonoff <sashaagafon...@gmail.com>
> An: neo...@googlegroups.com
> Gesendet: Montag, den 28. Dezember 2009, 13:28:37 Uhr
> Betreff: Re: Demo Installation of Peoplemap
>
> Thanks!
>
> The demo is running on a 256MB VPS slice on slicehost.com. My preference was to use the glassfish gem for deployment (it is quick and very easy), but couldn't get it to run as a daemon or background service (got any suggestions?).
>
> Instead, I used warbler to package the app and deploy it to Tomcat, which seems to be doing mostly good things... except it has created a small caching problem (only displays either male or female relationship options) that I will look into this week... other than that, I haven't done anything to tune the app server.
>
> Cheers, Sasha
>
> On Mon, Dec 28, 2009 at 3:27 AM, Andreas Ronge <andreas.ro...@jayway.se> wrote:
>
> Looks very impressive.
>
>
>
>
>
> >Its also rather fast - are you caching page with Apache rewrite rules as I did ?
> >I used glassfish - it was extremly easy to get it working. I think
> >glassfish is the recommended container for JRuby applications.
> >I agree that it would be nice to have a pure Javascript option (HTML5
> >?) instead of flash.
> >Maybe part of that solution could be used in a generic graph viewer tool similar
> >to neoclipse but for the browser.
>
> >Happy New Year
>
> >Andreas
>
> >On Tue, Dec 22, 2009 at 4:27 PM, Sasha <sashaagafon...@gmail.com> wrote:
> >> I've finally managed to get an install of peoplemap up and running
> >> permanently on my VPS slice athttp://peoplemap.404.com.au/people
>
> >> The big challenge (for me) was getting it to run as a service.
> >> Webrick, mongrel and glassfish weren't able to run as daemons with
> >> JRuby, so I used Warbler to deploy it to Tomcat and then proxy that
> >> through Apache. There are probably better/cleaner/neater/safer ways,
> >> but this worked!!!
>
> >> Feel free to have a play with the site - I'm still working out a few
> >> config issues, and as usual there are plenty of unfinished features
> >> and bugs. It should give you an idea of where things are headed with
> >> the app, although I think the real benefits will come when I add in
> >> user management to provide collaborative interaction around node and
> >> edge data.
>
> >> NOTE: This is a fairly limited VPS (256MB) with restricted bandwidth,
> >> so please don't hammer it! I'll have to take it down if it gets too
> >> much traffic.
>
> >> You can grab the source for the app fromhttp://github.com/sashaagafonoff/peoplemap/tree/master
>
> >> If you've got any suggestions/comments, please let me know - being a
> >> solo project it doesn't get a lot of valuable peer review.
>
> >> If you're interested in this project, and are looking for ways to
> >> contribute, please let me know. I've got some ideas about where I
> >> could use some help:
> >> - Getting a good unit test structure set up: I'm more of a BA than a
> >> coder, so a lot of this config stuff is a challenge for me: I have
> >> only developed a handful of fairly brittle Selenium tests since I
> >> can't rely on ActiveRecord and fixtures etc because of the way
> >> neo4j.rb works, and it doesn't make sense to do too much dev without
> >> getting a solid test base in place.
> >> - Suggestions/feedback from some experienced coders/architects on
> >> refactoring opportunities in the existing code - I really doubt that
> >> what I've done to date would be very efficient, and I know that a bit
> >> of a glance over the code by some seasoned veterans would make a huge
> >> difference.
> >> - Ideas on how to discard the Flash visualisation component in favour
> >> of a pure Javascript option (perhaps processing.js, JQuery, etc) so
> >> that the UI is cleaner and easier to treat as a single app (also for
> >> easier test automation).
> >> - Implementing a bulk data loader - perhaps using the Batchinserter
> >> from the neo4j guys athttp://wiki.neo4j.org/content/Batch_Insert.