16 lines
318 B
Markdown
16 lines
318 B
Markdown
|
# PubSub server
|
||
|
|
||
|
## Quick and easy
|
||
|
1. run `sudo docker build -t pubsub .`
|
||
|
2. `sudo docker run --rm -p 50051:50051 -it pubsub`
|
||
|
|
||
|
## Building (with dev dependencies)
|
||
|
`npm install`
|
||
|
|
||
|
## Running
|
||
|
`npm start` (runs on port 50051 by default)
|
||
|
`npm start -- -p 5555` to run on port 5555 for example
|
||
|
|
||
|
## Running tests
|
||
|
`npm test`
|