Skip to content

Commit

Permalink
add build instructions for websocket support in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Young-Flash committed Jul 2, 2022
1 parent 12a9c77 commit 5aca4da
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,31 @@ Dependencies:
- libxmlrpc-c with development files (optional if USE_XMLRPC=OFF, for XML-RPC support)
- nlohmann/json with development files (optional if USE_JSONRPC=OFF, for JSON-RPC support)
- googletest with development files (optional, for unit tests)
- [uWebSockets](https://github.com/Young-Flash/uWebSockets) and [uSockets](https://github.com/Young-Flash/uSockets)

```sh
# Install uWebSockets and uSockets into PATH

# Clone repository
git clone https://github.com/Young-Flash/uWebSockets
cd uWebSockets
rm -rf uSockets
git clone https://github.com/Young-Flash/uSockets

# Build
make

# Install header files and lib for uSockets
cd uSockets/src
sudo cp libusockets.h /usr/local/include/libusockets.h

cd ../
sudo cp uSockets.a /usr/lib/x86_64-linux-gnu/libuSockets.a

# Install header files for uWebSockets
cd ../
sudo make install
```

```sh
# Compile and install libtorrent (matching version required)
Expand Down

0 comments on commit 5aca4da

Please sign in to comment.