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!
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.
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.
You will need to install NodeJS on your system.
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
If syncing databases you need to ensure that you have the ```mysql`` command available in your terminal
mothership sync
mothership reset
- Clone repo
- Install dependencies
- Link with
npm link