Files
bbs/docs/wiki/Building.md
T
Claude 9ce4ff88ef wiki: plainer, more consistent wording; Home as a landing page
Rewrite the wiki's prose in the plain style of the rest of the D-Modem
docs: an opening sentence on every page saying what it covers, full
sentences, labelled table headers, British spelling (colour), one space
after full stops, and See also at the foot of every page. Page-title
headings are dropped, since the wiki and the site both show the title.

Home becomes a landing page: what bbs is, a Start here table by goal,
the features grouped by who they are for, and the list of every page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn
2026-11-06 03:00:50 +00:00

28 lines
1.0 KiB
Markdown

This page shows how to build bbs from source. You need Go 1.24 or later.
```
make # or: go build ./cmd/bbs
make test
make install # installs /usr/local/bin/bbs, and /etc/bbs/bbs.conf if there is none
```
bbs does not use cgo, so there is no C compiler to set up. Every database
driver is built in: SQLite is [modernc.org/sqlite](https://modernc.org/sqlite),
PostgreSQL is [pgx](https://github.com/jackc/pgx), and MySQL and MariaDB are
[go-sql-driver](https://github.com/go-sql-driver/mysql).
## go3270
bbs uses the D-Modem suite's fork of go3270,
[D-Modem/go3270](https://github.com/D-Modem/go3270) (Go module
`github.com/D-Modem/go3270`), which adds 3270 query replies and graphics.
While that repository is private, Go has to fetch it from GitHub with your
own credentials:
```
export GOPRIVATE=github.com/D-Modem/* # the Makefile sets this for you
git config --global url."git@github.com:".insteadOf "https://github.com/" # or use a token
```
**See also:** [Running](Running), [Development](Development)