Skip to content

Commit

Permalink
docs: Moved python plugins after CLN instructions
Browse files Browse the repository at this point in the history
Changelog-None.
  • Loading branch information
ShahanaFarooqui committed Jun 27, 2024
1 parent 6c338d6 commit cd07ce8
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions doc/getting-started/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,27 +66,6 @@ For actually doing development and running the tests, you will also need:

You will also need a version of bitcoind with segregated witness and `estimatesmartfee` with `ECONOMICAL` mode support, such as the 0.16 or above.

## Python plugins

You will need some Python packages if you want to use python plugins. Unfortunately there are some Python packages which are not packaged in Ubuntu, and so you will need to force installation of these (I recommend --user which will install them in your own .local directory, so at least you won't run the risk of breaking Python globally!).

### clnrest

Installation steps for clnrest are:

```
sudo apt-get install python3-pip python3-json5 python3-flask python3-gunicorn libsecp256k1-dev
pip3 install --user flask-cors flask_restx pyln-client flask-socketio gevent gevent-websocket
```

### wss-proxy

For wss-proxy, you need to install below libraries:

```
pip3 install --user pyln-client websockets
```

## To Build on Ubuntu

OS version: Ubuntu 15.10 or above
Expand Down Expand Up @@ -606,3 +585,24 @@ Install runtime dependencies:
```shell
apk add libgcc libsodium sqlite-libs zlib
```

## Python plugins

You will need some Python packages if you want to use python plugins. Unfortunately there are some Python packages which are not packaged in Ubuntu, and so you will need to force installation of these (I recommend --user which will install them in your own .local directory, so at least you won't run the risk of breaking Python globally!).

### clnrest

Installation steps for clnrest are:

```
sudo apt-get install python3-json5 python3-flask python3-gunicorn
pip3 install --user flask-cors flask_restx pyln-client flask-socketio gevent gevent-websocket
```

### wss-proxy

For wss-proxy, you need to install below libraries:

```
pip3 install --user pyln-client websockets
```

0 comments on commit cd07ce8

Please sign in to comment.