There is another more detailed example later in this manual. This is in Example: Delivering CAPI Othello, and shows how to deliver a small CAPI application. The application is an implementation of the board game Othello.
Further examples with complete code for delivering small applications are supplied in the LispWorks library. Start here:
LispWorks Delivery User Guide - 13 Dec 2011