Hi all,
I was wondering about the easiest way to develop/deploy a webservice written in Lisp (something like a "Hello World" webservice). I am using SBCL on an Ubuntu machine.
Thanks for any help...
Lisp webservice
Re: Lisp webservice
I recommend these videos for tips on developing the app (the "Reddit clone" videos are about Common Lisp with Hunchentoot, ignore the Clojure ones if you don't care about those).
To deploy, it's fairly easy to set up Hunchentoot on a non-privileged port and then set Apache to forward traffic to Hunchentoot via mod_proxy. There are instructions in the Hunchentoot docs.
To run your Lisp persistently on the server, a lot of people just start a REPL in GNU Screen and detach from the Screen instance. Getting it all to survive a system reboot probably requires writing your own init scripts though.
To deploy, it's fairly easy to set up Hunchentoot on a non-privileged port and then set Apache to forward traffic to Hunchentoot via mod_proxy. There are instructions in the Hunchentoot docs.
To run your Lisp persistently on the server, a lot of people just start a REPL in GNU Screen and detach from the Screen instance. Getting it all to survive a system reboot probably requires writing your own init scripts though.
-
- Posts: 406
- Joined: Sat Mar 07, 2009 6:17 pm
- Location: Brazil
- Contact:
Re: Lisp webservice
You may try Weblocks, which is a neat framework which uses CLOS and continuations. You may also try Hunchentoot, which is a server (the one used by weblocks), if you want something lighter and simpler.