From 158541f05ce320ef944c261c4cb803d5ec265522 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sat, 29 Apr 2023 13:53:57 +0000 Subject: [PATCH] Document deltachat_rpc_client installation --- deltachat-rpc-client/README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/deltachat-rpc-client/README.md b/deltachat-rpc-client/README.md index 4ce7aa7c4..d799a5ef2 100644 --- a/deltachat-rpc-client/README.md +++ b/deltachat-rpc-client/README.md @@ -5,9 +5,23 @@ and provides asynchronous interface to it. ## Getting started -To use Delta Chat RPC client, first build a `deltachat-rpc-server` with `cargo build -p deltachat-rpc-server`. +To use Delta Chat RPC client, first build a `deltachat-rpc-server` with `cargo build -p deltachat-rpc-server` +or download a prebuilt release. Install it anywhere in your `PATH`. +[Create a virtual environment](https://docs.python.org/3/library/venv.html) +if you don't have one already and activate it. +``` +$ python -m venv env +$ . env/bin/activate +``` + +Install `deltachat-rpc-client` from source: +``` +$ cd deltachat-rpc-client +$ pip install . +``` + ## Testing 1. Build `deltachat-rpc-server` with `cargo build -p deltachat-rpc-server`.