• Welcome
  • Features
  • Installation
  • Documentation
  • Community

Getting started

There are several ways to install Common Lisp and Weblocks.

Using Quicklisp

Quicklisp is the easiest way to get started with Weblocks.

Perform the following steps:

  1. Install SBCL or CCL.
  2. Run SBCL or CCL and load Quicklisp: this is described on the Quicklisp page.
  3. Install Weblocks: this is described on the Quicklisp page as well.
  4. Load the demo:
    * (asdf:oos 'asdf:load-op 'weblocks-demo)
  5. Start the demo:
    * (weblocks-demo:start-weblocks-demo :port 3455)
    (replace 3455 with some port that is currently not in use on your system)
  6. Check out the demo by pointing your browser at
    http://localhost:3455/weblocks-demo
  7. Use the demo as a starting point for your own application or generate a new base application named NAME in an existing directory DIR by issuing
    * (wop:make-app 'NAME "DIR")

Installer script

Aaron Feng wrote a shell script that lets you start a new Weblocks project from scratch; all you need is an installed SBCL.

Get it here: http://github.com/aaronfeng/weblocks-install/

Manual setup

We have several Mercurial repositories at Bitbucket.

The two official ones are

weblocks-stable
weblocks-stable, a tree that is synced at stable release points and receives only important bug fixes in between.
weblocks-dev
weblocks-dev, the tree where all the latest action is.

Saikat Chakrabarti has written a step-by-step tutorial on setting up SBCL and Weblocks from scratch on Darwin.