Skip to content
Peter Lewis edited this page Sep 4, 2020 · 2 revisions

Launches the website in the table on the specified port. A flag can be supplied to restrict the server binding to localhost, otherwise it will bind to all available IPs.

Parameter Description
table Website table
port Network port
bind 'localonly (optional)

Example

> (define db (website->table "example-website"))
> (website-serve db 8080)
#<thread #3>
Clone this wiki locally