Skip to content

Commit

Permalink
fix: add setup section in README
Browse files Browse the repository at this point in the history
  • Loading branch information
mhatzl committed Sep 21, 2023
1 parent 59e7040 commit 0d91689
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mantra"
version = "0.2.13"
version = "0.2.14"
edition = "2021"
authors = ["Manuel Hatzl"]
description = "Tool to trace requirements down to implementation and tests."
Expand Down
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,26 @@ The repository name is then added to the entry in the *references* list.
```

## Usage
### Setup

*mantra* is available on [crates.io](https://crates.io/crates/mantra), and may be installed using the Rust [toolchain](https://www.rust-lang.org/tools/install):

`cargo install mantra`

Alternatively, *mantra* is available as Docker [image](https://hub.docker.com/r/manuelhatzl/mantra), and may be run locally with:

`docker run manuelhatzl/mantra:main mantra`

To use the Docker image inside GitHub workflows, use:

```yaml
runs-on: ubuntu-latest
container:
image: manuelhatzl/mantra:main
```
**Note:** The image is based on the Alpine [image](https://hub.docker.com/_/alpine), and may not support all commands available with the Ubuntu image.
### Commands
*mantra* is primarily a command line tool that offers various commands.\
Expand Down

0 comments on commit 0d91689

Please sign in to comment.