Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ffxsam/meteor-mongo-sync

A command line tool to do one-way MongoDB syncs to a local Meteor dev environment
https://github.com/ffxsam/meteor-mongo-sync

Last synced: 3 months ago
JSON representation

A command line tool to do one-way MongoDB syncs to a local Meteor dev environment

Awesome Lists containing this project

README

        

# Meteor/Mongo Sync

## Description
This is a simple command line tool to import Mongo data from a remote server into a local Meteor/Mongo dev environment. It's useful for copying data from staging or production down so you can attempt to replicate bugs using real data.

## Installation

npm install -g meteor-mongo-sync

## Usage

mmsync [options]

### Options

```
-d, --drop = drop local database before importing
```

MMSync will read the `MONGO_URL` env var from your `settings.json` file and use that to import data from.

## Future Plans
It would be cool to have an ncurses type interface ([`blessed`](https://www.npmjs.com/package/blessed) maybe?) to show a list of collections that a user could checkmark to include/exclude from the import.