Skip to content

Commit

Permalink
Merge pull request #64 from CLIMB-TRE/development
Browse files Browse the repository at this point in the history
Conda-forge install instructions
  • Loading branch information
tombch authored Mar 4, 2024
2 parents 667a9fe + 42d8b93 commit 739006f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
22 changes: 14 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@

## Setup

#### Install via pip
#### Install from conda-forge

```
$ conda create --name onyx --channel conda-forge climb-onyx-client
```

#### Install from PyPI

```
$ pip install climb-onyx-client
Expand All @@ -15,20 +21,20 @@ Download and install the client into a Python virtual environment:
```
$ git clone https://github.com/CLIMB-COVID/onyx-client.git
$ cd onyx-client/
$ python -m venv env
$ source env/bin/activate
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install .
```

Check it works:

```
$ onyx
Usage: onyx [OPTIONS] COMMAND [ARGS]...
API for pathogen metadata.
Usage: onyx [OPTIONS] COMMAND [ARGS]...
API for pathogen metadata.
╭─ Options ─────────────────────────────────────────────────────────────────────────────────╮
│ --domain -d TEXT Domain name for connecting to Onyx. [env var: ONYX_DOMAIN] │
│ [default: None] │
Expand Down
8 changes: 7 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ Onyx-client and Onyx are being developed as part of the [CLIMB-TRE](https://clim

## Installation

### Install from PyPI (recommended)
### Install from conda-forge (recommended)

```
$ conda create --name onyx --channel conda-forge climb-onyx-client
```

### Install from PyPI

```
$ pip install climb-onyx-client
Expand Down

0 comments on commit 739006f

Please sign in to comment.