source: code/trunk/doc/getting-started.md@ 549

Last change on this file since 549 was 541, checked in by contact, 4 years ago

doc/getting-started: s/Freenode/Libera Chat/

File size: 1.8 KB
Line 
1# Getting started
2
3## Server side
4
5To create an admin user and start soju, run these commands:
6
7 sojuctl create-user <soju username> -admin
8 soju -listen irc+insecure://127.0.0.1:6667
9
10If you're migrating from ZNC, a tool is available to import users, networks and
11channels from a ZNC config file:
12
13 go run ./contrib/znc-import.go <znc config file>
14
15## Client side
16
17soju can operate in two different modes: multi upstream and single upstream.
18
19### Single upstream mode
20
21In this mode, 1 upstream connection to a irc server = 1 connection to your soju
22bouncer.
23
24The easiest and fastest way to use this is to specify the address of the server
25in your username in your client configuration. For example to connect to
26Libera Chat, your username will be: `<soju username>/irc.libera.chat`. Also set
27your soju password in the password field of your client configuration.
28
29This will autoconfigure soju by adding a network with the address
30`irc.libera.chat` and then autoconnect to it. You will now be able to join
31any channel like you would normally do.
32
33### Multi upstream mode
34
35In this mode, a single connection to your soju bouncer can handle multiple
36upstream connections. You will need to manually configure each upstream
37connection using the the special `BouncerServ` user.
38
39Connect to your soju server by specifying your soju username in the username
40field in your client and your password in the password field.
41
42You should now be able to send private messages to the `BouncerServ`. You can
43send it commands to configure soju. Create new networks:
44
45 /msg BouncerServ network create -addr irc.libera.chat -name libera
46 /msg BouncerServ network create -addr irc.rizon.net -name rizon
47
48You will now be able to join channels on these networks by specifying their
49name:
50
51 /join #soju/libera
52 /join #somechannel/rizon
Note: See TracBrowser for help on using the repository browser.