Module: Groupy
- Defined in:
- lib/rugroupy/server.rb
Overview
Run the server like this by extending GroupyServer and calling run! require ‘rugroupy/server’ class MyApp < Groupy::GroupyServer
register Sinatra::MongoExtension
set :mongo, 'mongo://localhost:27017/test'
optionally set more things (port, etc.) according to http://www.sinatrarb.com/configuration.html
end MyApp.run!
Defined Under Namespace
Modules: GroupyServerSupport Classes: GroupyServer