Compiling instructions for all platforms
This commit is contained in:
parent
ff37c2a272
commit
a1d3225181
12
README.md
12
README.md
@ -57,10 +57,20 @@ Http | WebSockets
|
||||
 | 
|
||||
|
||||
### Build from source
|
||||
Easiest is to compile yourself a Node.js native addon. The following works for Linux and macOS systems:
|
||||
#### Recursively clone, and enter, this repo:
|
||||
```
|
||||
git clone --recursive https://github.com/uNetworking/uWebSockets.js.git
|
||||
cd uWebSockets.js
|
||||
```
|
||||
#### For Unix (Linux, macOS):
|
||||
```
|
||||
make
|
||||
```
|
||||
#### For Windows (in an x64 developer terminal):
|
||||
```
|
||||
nmake Windows
|
||||
```
|
||||
#### Test it out
|
||||
```
|
||||
node examples/HelloWorld.js
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user