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
File details
Details for the file metal-cli-0.0.2.tar.gz
.
File metadata
- Download URL: metal-cli-0.0.2.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/2.7.15+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c31568a3c68b1e87326b7840ab4e8f666d397076b2d38be7d883abe292fcc62 |
|
MD5 | 1b51308249eb68073623b2ffdbea1519 |
|
BLAKE2b-256 | 4f15e01faf9db90e5c09271e73e94e587ccaab5ce53b7b8fa6f42fcaef45b4a3 |
File details
Details for the file metal_cli-0.0.2-py2-none-any.whl
.
File metadata
- Download URL: metal_cli-0.0.2-py2-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/2.7.15+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8645642f90c2b21be47a0f629bd916eaaf8b52565a215334fcee14210a466f0b |
|
MD5 | fa3c4b57c871e540386e055c7f3b8f29 |
|
BLAKE2b-256 | 060db24bc04c2d669cd1e40472a5dc761872c9a5d7ba912c500cc27669e71389 |