Update README.md (#1337)

This commit is contained in:
BrennanConroy 2018-01-23 20:00:34 -08:00 committed by GitHub
parent 40e906f23a
commit dd7cfdc58d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 4 deletions

View File

@ -19,19 +19,24 @@ You can install the latest released JavaScript client from npm with the followin
npm install @aspnet/signalr-client
```
The CI build publishes the latest dev version of the JavaScript client to our dev npm registry as @aspnet/signalr-client. You can install the module as follows:
The CI build publishes the latest dev version of the JavaScript client to our dev npm registry as @aspnet/signalr. You can install the module as follows:
- Create an .npmrc file with the following line:
`@aspnet:registry=https://dotnet.myget.org/f/aspnetcore-dev/npm/`
- Run:
`npm install @aspnet/signalr-client`
`npm install @aspnet/signalr`
Alternatively, if you don't want to create the .npmrc file run the following commands:
```
npm install msgpack5
npm install @aspnet/signalr-client --registry https://dotnet.myget.org/f/aspnetcore-dev/npm/
npm install @aspnet/signalr --registry https://dotnet.myget.org/f/aspnetcore-dev/npm/
```
We also have a MsgPack protocol library which is installed via:
```bash
npm install @aspnet/signalr-protocol-msgpack
```
## Building from source
To run a complete build on command line only, execute `build.cmd` or `build.sh` without arguments.