Update documentation to use pip

This commit is contained in:
Quentin 2021-12-08 16:30:28 +01:00
parent abccfb88b8
commit 322e949de0

View file

@ -1,19 +1,19 @@
# mknet
Show usage:
## Installation
```help
python3 main.py
```bash
sudo pip3 install https://git.deuxfleurs.fr/trinity-1686a/mknet
```
## Example
## Usage
```bash
sudo rm -rf /tmp/garage-testnet/ # always start by deleting previous run
sudo python3 main.py create ./config.yml
sudo python3 main.py run-all example/deploy_garage.sh
sudo python3 main.py run dc1:dc1s1 garage -c /tmp/garage-testnet/dc1/dc1s1/garage.toml status
sudo python3 main.py destroy
sudo mknet create ./config.yml
sudo mknet run-all example/deploy_garage.sh
sudo mknet run dc1:dc1s1 garage -c /tmp/garage-testnet/dc1/dc1s1/garage.toml status
sudo mknet destroy
```
## Instrumented daemons