You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on this blog I've stumbled on a basic need to serve static website from local folder. Though Coleslaw has magical command ```coleslaw preview``` it's good to know how to do it outside of Coleslaw.
There are numerous solutions in any language but we're talking CL here. And it's surprisingly simple:
1. Install `clack` with ```ros install clack```
2. Create `app.lisp` in the target folder with the following content: ```(lack.app.file:make-app)```
3. Run ```clackup -s lack-middleware-static app.lisp``` and enjoy.