Skip to content

railsmachine/moonshine_mongodb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moonshine_Mongodb

A plugin for Moonshine

A plugin for installing and managing mongodb.

Instructions

Rails 2

  • script/plugin install git://github.com/railsmachine/moonshine_mongodb.git Rails 3

  • rails plugin install git://github.com/railsmachine/moonshine_mongodb.git

  • Include the recipe in your Moonshine manifest recipe :mongodb

  • Create a file 'config/mongo.yml' with your settings:

    development: &global_settings database: myapp-development host: 127.0.0.1 port: 27017

    production: database: myapp username: username password: password <<: *global_settings

  • Copy over the mongo.rb initializer: cp vendor/plugins/moonshine_mongodb/templates/mongo.rb config/initializers/

Note: The provided mongo.yml and mongo.rb are just examples for mongo_mapper. You can use Mongoid or anything else instead.


Unless otherwise specified, all content copyright © 2014, Rails Machine, LLC

About

A mongodb recipe for Moonshine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 46.0%
  • Shell 41.5%
  • HTML 12.5%