pubsub-server/README.md

16 lines
318 B
Markdown
Raw Normal View History

2022-07-25 02:33:35 +00:00
# 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`