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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for metal_cli-0.0.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8645642f90c2b21be47a0f629bd916eaaf8b52565a215334fcee14210a466f0b |
|
MD5 | fa3c4b57c871e540386e055c7f3b8f29 |
|
BLAKE2b-256 | 060db24bc04c2d669cd1e40472a5dc761872c9a5d7ba912c500cc27669e71389 |