mirror of
https://github.com/mjl-/mox.git
synced 2024-12-25 07:53:47 +03:00
on build page, mention that changes can be tested easily with mox localserve
This commit is contained in:
parent
79fb72f3cd
commit
25b2ea164f
2 changed files with 5 additions and 3 deletions
|
@ -80,11 +80,11 @@ const elem = (name, ...s) => {
|
|||
e.append(...s)
|
||||
return e
|
||||
}
|
||||
const link = (url) => {
|
||||
const link = (url, anchor) => {
|
||||
const e = document.createElement('a')
|
||||
e.setAttribute('href', url)
|
||||
e.setAttribute('rel', 'noopener')
|
||||
e.appendChild(document.createTextNode(url))
|
||||
e.append(anchor || url)
|
||||
return e
|
||||
}
|
||||
let h = location.hash.substring(1)
|
||||
|
@ -106,6 +106,8 @@ const init = () => {
|
|||
'https://beta.gobuilds.org/github.com/mjl-/mox@'+h
|
||||
),
|
||||
elem('p', 'Because mox is written in Go, builds are reproducible, also when cross-compiling. Gobuilds.org is a service that builds Go applications on-demand with the latest Go toolchain/runtime.'),
|
||||
elem('h1', 'Localserve'),
|
||||
elem('p', 'Changes to mox can often be most easily tested locally with ', link('../features/#hdr-localserve', '"mox localserve"'), ', without having to update your running mail server.'),
|
||||
)
|
||||
}
|
||||
window.addEventListener('load', init)
|
||||
|
|
|
@ -436,7 +436,7 @@ in the [quickstart command](../commands/#hdr-mox-quickstart).
|
|||
|
||||
## Localserve
|
||||
|
||||
The [mox localserve](../commands/#hdr-mox-localserve) starts a local mox
|
||||
The [mox localserve](../commands/#hdr-mox-localserve) command starts a local mox
|
||||
instance with a lot of its functionality: SMTP/submission, IMAP4, Webmail,
|
||||
account and admin web interface and the webserver. Localserve listens on the
|
||||
standard ports + 1000, so no special privileges are needed.
|
||||
|
|
Loading…
Reference in a new issue