Geddy and Riak Integration

34 views
Skip to first unread message

uneuronh

unread,
Nov 28, 2012, 3:36:32 PM11/28/12
to ged...@googlegroups.com
Hi Guys,

I am not able to find any sample / tutorial on integrating of riak with geddy 

Please point me to any tutorial 

Thanks,
Umesh

Brent Westmoreland

unread,
Nov 28, 2012, 4:39:27 PM11/28/12
to ged...@googlegroups.com
All you should have to do is setup the connection to Riak and the ORM should handle the rest.

Try this.
Once you've started your project just go to config/development.js or config/production.js add the following in the proper place:

, model: {
    defaultAdapter: 'riak'
  }
, db: {
   riak: {
      protocol: 'http'
    , host: 'localhost'
    , port: 8098
  }


Be sure to configure the variables for your env.

Then follow the examples at the Model github page for configuring your models:


Or on the geddyjs tutorial:




--
The official community discussion group.
website: geddyjs.org, source: https://github.com/mde/geddy, group: https://groups.google.com/d/forum/geddyjs?hl=en
 
 

Reply all
Reply to author
Forward
0 new messages