Skip to main content

Docker wrapper: Forget about your bare-metal and get started right away.

Project description

# Metal 🤘

Docker wrapper: Forget about your bare-metal and get started right away.

## Installation

Install [docker](https://docs.docker.com/install/) and [docker-compose](https://docs.docker.com/compose/install/) before using metal. Once that’s setup, install the metal cli running the following command:

pip install metal-cli

## Usage

Get detailed information running metal –help.

## Development

Run tests by using python tests command.

TODO: update /etc/hosts

### Add mysql user

`sh metal shell --service="mysql" mysql -u root --password="secret" -e "CREATE USER '{user}'@'%' IDENTIFIED BY '';" mysql -u root --password="secret" -e "GRANT ALL PRIVILEGES ON *.* TO '{user}'@'%';" mysql -u root --password="secret" -e "FLUSH PRIVILEGES;" `

### Add mysql database

`sh metal shell --service="mysql" mysql -u root --password="secret" -e "CREATE DATABASE {database};" `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metal-cli-0.0.2.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

metal_cli-0.0.2-py2-none-any.whl (16.4 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page