23 lines
591 B
Markdown
23 lines
591 B
Markdown
Blog Site Example
|
|
=================
|
|
|
|
A small blog application demonstrating Safsaf's routing, handler
|
|
wrappers, sessions, CSRF protection, and content negotiation. Uses
|
|
SQLite for storage.
|
|
|
|
Running
|
|
-------
|
|
|
|
From the repository root:
|
|
|
|
./pre-inst-env guile -L examples/blog-site examples/blog-site/blog-site.scm
|
|
|
|
Or from the example directory:
|
|
|
|
cd examples/blog-site
|
|
../../pre-inst-env guile -L . blog-site.scm
|
|
|
|
The server listens on http://localhost:8082.
|
|
|
|
The session secret and database path are hard-coded for demonstration
|
|
purposes — do not use these values in production.
|