Просмотр исходного кода

bin/ircd: update README.md and ircd_config file

ghassmo 4 лет назад
Родитель
Сommit
de48e9e1dc
2 измененных файлов с 21 добавлено и 2 удалено
  1. 19 0
      bin/ircd/README.md
  2. 2 2
      bin/ircd/ircd_config.toml

+ 19 - 0
bin/ircd/README.md

@@ -13,6 +13,25 @@ It uses the darkfi p2p engine to synchronize chats between hosts.
 % make install BINS=ircd PREFIX=/home/XX/.local
 ```
 
+## Usage (Darkfi Network)
+
+After ircd get installed, run:
+
+```shell
+% ircd 
+```
+
+Make sure **[weechat](https://github.com/weechat/weechat)** is installed, then run:
+
+```shell
+% weechat
+```
+
+Inside weechat run the following commands to connect to ircd:
+	/server add dark localhost/11066
+	/connect dark
+
+
 ## Usage (Local Deployment)
 
 ### Seed Node

+ 2 - 2
bin/ircd/ircd_config.toml

@@ -16,7 +16,7 @@ autojoin = ["#dev"]
 #inbound="tls://127.0.0.1:11002" 
 
 ## Connection slots
-#outbound_connections=5
+outbound_connections=5
 
 ## P2P external address
 #external_addr="tls://127.0.0.1:11002"
@@ -25,7 +25,7 @@ autojoin = ["#dev"]
 #peers=["tls://127.0.0.1:11003"]
 
 ## Seed nodes to connect to 
-#seeds=["tls://127.0.0.1:11001"]
+seeds=["tls://irc0.dark.fi:11001", "tls://irc1.dark.fi:11001"]
 
 ## these are the default configuration for the p2p network
 #manual_attempt_limit=0