0.1.3 • Published 9 years ago

manage-mongo v0.1.3

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

manage-mongo

=============

THIS MODULE IS DEPRECATED AS MONGO-EXPRESS RUNS FROM CLI. See mongo-express for info.

A simple module to wrap mongo-express and enable starting it globally with a single command. It will start an Express server and provide you with a web-based admin interface for your MongoDB installation.

Build Status

NPM

Description

I created this module so mongo-express can be started from the command line easily. Default configuration of mongo-express should be sufficient for most people so I only added the option to set the port at command line. If you however wish to configure it further - see below.

Requirements

You need MongoDB installed. (duh!)

Usage

To install:

npm install manage-mongo -g

To configure: Run

manage-mongo -h

to see advanced configuration instructions

To run:

Usage: manage-mongo [options]
  General options:
    -h : Displays this message with advanced configuration details
    -p : Sets the port at which to listen to (e.g. manage-mongo -p 1337).
         If unset defaults to the value set in mongo-express config file
         (default is 8081).

To use:

Visit http://localhost:8081 or whatever port you entered into your config/CLI.

Contributing

This is a fairly simple module and if you find it lacks some functionality you may wish to implement - please do fork and generate a pull request. If you add any new functionality please write tests and make sure all pass before submitting a pull request.

Credits

Big thanks to andzdroid for creating the mongo-express module which was a basis for this module and a great help to me with dev work with MongoDB.

License

MIT License

Copyright (c) 2015 Djordje Lacmanovic

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.