[update installation instructions dan**20030616152621] { hunk ./doc/installation.html 9 -href="http://ww.telent.net/cliki/ASDF+System" >ASDF System. You -may want to investigate whether there is a convertor from ASDF systems -to your platform's package standard, in which case installation will -be a simple matter of apt-get or pkg_add or something and you can skip +href="http://www.cliki.net/ASDF+System" >ASDF System. You may +want to investigate whether there is a convertor from ASDF systems to +your platform's package standard, in which case installation will be a +simple matter of asdf-install or apt-get or pkg_add or something and you can skip hunk ./doc/installation.html 17 -
  • You need a SBCL or CMUCL implementation that has asdf loaded into it +
  • You need an SBCL that has asdf loaded into it. +In SBCL 0.8 or later, asdf is bundled and you should just be able to +type (require 'asdf) to ensure this is the case. hunk ./doc/installation.html 24 -download db-sockets, net-telent-date and -araneida, and untar them somewhere (for simplicity, have them -share a common parent directory) - +download net-telent-date and araneida, and untar +them somewhere (for simplicity, have them share a common parent +directory) hunk ./doc/installation.html 53 +

    hunk ./doc/installation.html 59 -
      -
    1. Some Assembly Required hunk ./doc/installation.html 62 -(defvar *araneida-url* (make-instance 'http-url :host *araneida-site-name*)) +(defvar *araneida-url* + (make-instance 'http-url :host *araneida-site-name* + :port 8000)) hunk ./doc/installation.html 74 - -;;; we can make araneida write out some file for Apache to include -(with-open-file (conf "/etc/apache.conf.include" - :direction :output - :if-does-not-exist :create) - (output-apache-conf conf)) hunk ./doc/installation.html 85 + +;;; ready to rock? This will return immediately, after having set up +;;; threads or SERVE-EVENT handlers (depending on what's available) +;;; to hadnle requests in the background + +(install-handlers) + + + +

      Point your browser at http://my.host.name.example.com:8000/ to test + +

      Use with a proxy

      + +

      +

    2. You need *araneida-url* (the external published URL of the site) +to refer to the hostname and port of the proxy instead of the actual +Araneida server. + +
      +(defvar *araneida-url* 
      +   (make-instance 'http-url :host *araneida-site-name*))
      hunk ./doc/installation.html 107
      -;;; ready to rock?
      -(install-serve-event-handlers)
      +;;; then export a server using this url, as previously 
      hunk ./doc/installation.html 109
      +;;; now make araneida write out some file for Apache to include
      +(with-open-file (conf "/etc/apache.conf.include"
      +                      :direction :output
      +                      :if-does-not-exist :create)
      +  (output-apache-conf conf))
      hunk ./doc/installation.html 125
      -Include /tmp/apache.cf.inc
      +Include /etc/apache.conf.include
      }