Skip to content

ciudadanointeligente/PMO_ROAR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An example ecosystem around roar and roar-rails

Idea

This is an example of a working ecosystem of services and client applications that interact using roar and roar-rails gems. The main idea is to show how one might use those libraries to build such a system.

Components

  • book_of_orcharding - contains all the domain / business rules about fruit management
  • orchard - serves us as the persistence layer for the orcharding rules
  • tutti_frutti - exposes orcharding rules as a json api
  • smoothie_mixer - rails project that consumes the api and delivers delishes fruit smoothies

Install

tutti_frutti (api server):

to generate config/sunspot.yml rails g sunspot_rails:install

to generate config/mongoid.yml rails g mongoid:config

Run

start tutti_frutti service by running: bundle exec rails s -p 9292

start smoothie_mixer client by running: bundle exec rails s

With mongoid

verify mongo service is running or run with: sudo mongod

With sunspot

verify rails config/sunspot.yml points port to 8983 in tutti_frutti (api server) run bundle exec rake sunspot:solr:run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published