test-irc.txt 925 B

12345678910111213141516171819202122232425262728293031323334
  1. In a random terminal run the seed node:
  2. cargo run --bin ircd -- --accept 127.0.0.1:9999 --log /tmp/seed.log --irc 127.0.0.1:6699
  3. In two other terminals run first the server:
  4. cargo run --bin ircd -- --accept 127.0.0.1:10005 --seeds 127.0.0.1:9999 --log /tmp/server.log --irc 127.0.0.1:6688
  5. And a client node:
  6. cargo run --bin ircd -- --slots 1 --seeds 127.0.0.1:9999 --log /tmp/client.log --irc 127.0.0.1:6667
  7. Then you now need to open two weechat instances.
  8. First just run weechat and make sure temporary connections option is set:
  9. /set irc.look.temporary_servers on
  10. To run a second weechat instance, use the --dir option
  11. weechat --dir /tmp/
  12. And also set temporary servers for this instance as well:
  13. /set irc.look.temporary_servers on
  14. Now connect to both nodes (in each weechat instance) using:
  15. /connect localhost
  16. /connect localhost/6688
  17. Now you can message between them both.