Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
agouy authored Oct 8, 2024
1 parent d224d6c commit e002a2a
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,36 +26,13 @@ tercenCtx = ctx.TercenContext()
tercenCtx = ctx.TercenContext(
workflowId="YOUR_WORKFLOW_ID",
stepId="YOUR_STEP_ID",
username="admin", # if using the local Tercen instance
password="admin", # if using the local Tercen instance
serviceUri = "http://tercen:5400/" # if using the local Tercen instance
)
```

* Generate requirements

```bash
python3 -m tercen.util.requirements . > requirements.txt
```

* Update the requirements.txt file with relevant dependencies
* Push your changes to GitHub: triggers CI GH workflow
* Tag the repository: triggers Release GH workflow
* Go to tercen and install your operator


## Helpful Commands

### Install Tercen Python Client

```bash
python3 -m pip install --force git+https://github.com/tercen/[email protected]
```

### Wheel

Though not strictly mandatory, many packages require it.

```bash
python3 -m pip install wheel
```

Check out the [Developer's Guide](https://tercen.github.io/developers_guide/) for more information on how to develop operators.

0 comments on commit e002a2a

Please sign in to comment.