mothership-cli
v0.4.0
Published
CLI tool for syncing backups from Mothership.app to your development environment.
Downloads
2
Maintainers
Readme
Mothership CLI
About
Mothership CLI allows for you to sync your backups at mothership.app to your local development environment in seconds. first thig you will need is a Mothership account with some backups running so once you're setup there come on back and we'll get you syncing!
Oh... done already? Let's get started!
Installing
This will go quick. There are a few items that you're going to need to run Mothership CLI. Follow the instructions below to install AWS CLI and NodeJS before you install Mothership CLI.
Requirements
AWS CLI
You will need the AWS CLI on your system. You can get that from here: Installing AWS CLI version 1. There are bundled installers for Linux and MacOS and MSI installers for Windows.
NodeJS
You will need to install NodeJS on your system.
Install Mothership CLI
To install mothership you'll want to install it globally so that it can be run from anywhere. To do that run the following on your terminal:
npm install -g mothership-cli
MySQL
If syncing databases you need to ensure that you have the ```mysql`` command available in your terminal
Usage
Syncing
mothership sync
Resetting configuration
mothership reset
Development
- Clone repo
- Install dependencies
- Link with
npm link