Mercadoni
This gem will help Mercadoni's developers.
Installation
Install it yourself as:
$ gem install mercadoni
Usage
Deploy a Mercadoni's APP:
-
Ask for the AWS credentials (MERCADONI_AWS_KEY, MERCADONI_AWS_SECRET) which you must set up locally.
-
Ask for the ssh private key that is used to loggin on Mercadoni's servers as app user.
-
You must ensure that you're on master (production) or dev (development) branch before deploying. Then, you can execute the command shown below.
$ mercadoni <app_name>
Possible app names:
| Production | Staging | Development |
|---|---|---|
| client | client-staging | dev |
| client-live-v2 | client-staging-v2 | client-dev-v2 |
| admin | admin-staging | dev |
| shopper | shopper-staging | dev |
| catalog | catalog-staging | dev |
| socket | socket-staging | dev |
| partner | partner-staging | dev |
| ed | ed-staging | ed-dev |
| bi (dev) | bi-staging | dev |
** You can deploy multiple apps like this:
$ mercadoni <app_name> <app_name> <app_name>
See Mercadoni's APP logs:
-
Ask for the ssh private key that is used to loggin on Mercadoni's servers as app user.
-
Execute the command shown below
$ mercadoni <app_name> --logs
License
The gem is available as open source under the terms of the MIT License.
Created by Sebastian Vizcaino