README: Add readme

master
Elis Hirwing 2 years ago
parent 9d5e55d5ec
commit ccb8313fd4
Signed by: etu
GPG Key ID: D57EFA625C9A925F
  1. 14
      README.org

@ -0,0 +1,14 @@
* Web Sub Hub test build
Run as normal with =docker-compose up=
Check the log to see that the hub builds and starts up, the hub will then
print a message like:
: 2020/11/21 08:25:06 Created subscription for a-topic
While the client prints:
: time="2020-11-21T08:25:12Z" level=info msg="Got a post, and all is good"
** Make the hub send messages
Take your browser and head to http://127.0.0.1:8080/spam/a-topic
The last bit decides which topic to send messages to.
Loading…
Cancel
Save