Here’s a guide to take a fresh Debian stable (Etch) install and turn it into a viable Lisp web development environment. (Including Emacs22, SBCL, Slime, Hunchentoot, Apache2 all working together from boot)
Please note that this guide assumes you’re using a fresh installation of Debian stable.
All the commands assume you are logged in as root on your soon-to-be web server.
Browse to http://SERVERNAME/lisp to view your website.
Type emacs /var/lisp/server.lisp to start editing the little example page.
Type M-x slime-connect RET RET in Emacs to connect to the running Lisp REPL
Add your user to the lisp-user group to edit the files
Make sure you have downloaded the .emacs for your user so slime-connect works properly
Leave a comment if you hit a problem and I’ll try and help - Dave.
Edit: Thanks to Todd for some good feedback, I have added some extra commands that help to get rid of the outdated version of SBCL which comes with Debian, while still making use of Debian’s cl package. (That’s the hope anyway, let me know if it worked for you / if there’s a better way to do that part)