File: dev-setup.md

package info (click to toggle)
soju 0.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,016 kB
  • sloc: sql: 243; sh: 55; makefile: 49; python: 32
file content (16 lines) | stat: -rw-r--r-- 500 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Development setup

soju can be run as usual the same way as any other Go program via `go run`. To
create an admin user and start soju on port 6667 (for unencrypted local
connections):

    go run ./cmd/sojudb create-user <soju username> -admin
    go run ./cmd/soju -listen irc://localhost

A custom config file can be used by passing `-config`, for instance to enable
a [pprof] server:

    listen irc://localhost
    listen http+pprof://localhost:8101

[pprof]: https://pkg.go.dev/net/http/pprof