nunerajender / moonshine_mongodb

A mongodb recipe for Moonshine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Moonshine_Mongodb

A plugin for Moonshine

A plugin for installing and managing mongodb.

Instructions

  • script/plugin install git://github.com/orderedlist/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/

About

A mongodb recipe for Moonshine

License:MIT License


Languages

Language:Ruby 100.0%