Installation
Install via Ring Package Manager
ringpm install bolt from ysdragonRequirements
- Ring 1.25+
- Pre-built binaries included for Windows, Linux (glibc / musl), macOS, and FreeBSD
Verify Installation
Create a file called app.ring:
load "bolt.ring"
new Bolt() {
port = 3000
@get("/", func {
$bolt.send("Hello, World!")
})
}Run it:
ring app.ringYou should see:
[bolt] Server running on http://0.0.0.0:3000Visit http://localhost:3000 in your browser.