From c5df7e73bb0d0de55826e07f82a7a1d33ce8ea86 Mon Sep 17 00:00:00 2001 From: Paul Elliott Date: Mon, 7 Oct 2024 14:45:01 -0400 Subject: [PATCH] docs(README): add release section, screenshot, remove install section --- README.md | 49 +++++++++++++++---------------------------------- 1 file changed, 15 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index e007998..b01f786 100644 --- a/README.md +++ b/README.md @@ -42,55 +42,36 @@ git clone https://github.com/vicentebolea/nrtk_explorer_datasets.git nrtk-explorer --dataset ./nrtk_explorer_datasets/OIRDS_v1_0/oirds.json ``` -![nrtk explorer usage](https://raw.githubusercontent.com/Kitware/nrtk-explorer/main/usage.png) +![nrtk explorer usage](https://github.com/user-attachments/assets/86a61485-471c-4b94-872e-943cb9da52a1) -Installing ----------- - -Install it from pypi: - -```bash -pip install nrtk-explorer -``` - -Or, download and install it manually with: - -```bash -curl -OL https://github.com/Kitware/nrtk-explorer/archive/refs/heads/main.zip -``` - -Inside the application source code top directory, install it with: - -``` -pip install -e . -``` - -Run the application: - -``` -nrtk-explorer -``` +Some COCO image datasets available at: https://github.com/vicentebolea/nrtk_explorer_datasets/ CLI flags and options --------------------- - `-h|--help` show the help for the command line options, it inherit trame command line options and flags. -- `--dataset` specify the directory containing a json file describing a COCO - image dataset. You can specify multiple directory using a comma `,` as a - separator. Example usage: `nrtk_explorer --dataset `. More - images datasets available at: - https://github.com/vicentebolea/nrtk_explorer_datasets/ +- `--dataset` specify the path to a json file describing a COCO + image dataset. You can specify multiple COCO datasets using a comma `,` as a + separator. Example usage: `nrtk_explorer --dataset /foo-dir/coco.json, ../bar-dir/baz.json` Contribute to NRTK_EXPLORER --------------------------- -Run tests with: - ```bash +git clone https://github.com/Kitware/nrtk-explorer.git +cd nrtk-explorer +python3 -m venv .venv +source .venv/bin/activate +pip install -U pip +pip install -e . pytest ``` [1]: https://trame.readthedocs.io/en/latest/ [2]: https://www.kitware.com/ [3]: https://cocodataset.org/ + +### Create release +1. Merge `main` to `release` with a *merge commit*. +2. Run "Create Release" workflow with workflow from `release` branch.