Skip to content

Commit

Permalink
README.md: Update with PyPI installation
Browse files Browse the repository at this point in the history
Signed-off-by: Arisu Tachibana <[email protected]>
  • Loading branch information
aliceinwire committed Nov 6, 2024
1 parent 7173e2d commit 65991fc
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 14 deletions.
23 changes: 10 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,24 @@ kci-dev is a cmdline tool for interact with a enabled KernelCI server

## Quickstart

Using poetry and virtualenv
Using PyPI and virtualenv
```sh
virtualenv .venv
source .venv/bin/activate
pip install poetry
poetry install
poetry run kci-dev
pip install kci-dev
```

## Contributing to kci-dev
You can see a example setting file [here](https://raw.githubusercontent.com/kernelci/kci-dev/79e65bc658a56ca0cfcbfa727c1d32916e68a2cd/.kci-dev.toml.example)
```sh
wget https://raw.githubusercontent.com/kernelci/kci-dev/79e65bc658a56ca0cfcbfa727c1d32916e68a2cd/.kci-dev.toml.example
cp .kci-dev.toml.example .kci-dev.toml
```

The kci-dev project welcomes, and depends on, contribution from developers and users in the open source community.
Remember to add your auth token to the setting file or use it in a limited version (results view only) without a auth token

## Contributing guide
## Contributing to kci-dev

Run the following checks before sending a PR
```sh
poetry run black --check --verbose .
poetry run isort . --check --diff
poetry run pytest -rP
```
The kci-dev project welcomes, and depends on, contribution from developers and users in the open source community.

## License

Expand Down
17 changes: 16 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,20 @@ Purpose of this tool to provide a easy way to use features of KernelCI Pipeline

## Installation

Using poetry and virtualenv
### Using PyPI and virtualenv
```sh
virtualenv .venv
source .venv/bin/activate
pip install kci-dev
```

You can see a example setting file [here](https://raw.githubusercontent.com/kernelci/kci-dev/79e65bc658a56ca0cfcbfa727c1d32916e68a2cd/.kci-dev.toml.example)
```sh
wget https://raw.githubusercontent.com/kernelci/kci-dev/79e65bc658a56ca0cfcbfa727c1d32916e68a2cd/.kci-dev.toml.example
cp .kci-dev.toml.example .kci-dev.toml
```

### Using poetry and virtualenv
```sh
virtualenv .venv
source .venv/bin/activate
Expand All @@ -14,6 +27,8 @@ poetry install
poetry run kci-dev
```

Remember to add your auth token to the setting file or use it in a limited version (results view only) without a auth token

## Configuration

kci-dev uses a configuration file .kci-dev.toml in the program directory.
Expand Down

0 comments on commit 65991fc

Please sign in to comment.