Friday, November 9, 2007

How to Install Squeak

Download the Squeak Virtual Machine for Linux from http://squeak.org. After you untar it, rename i686-pc-linux-gnu to i686-pc-linux-gnulibc1 before installing the Squeak VM.

sudo ./INSTALL

Alternatively, you can use apt-get to install Squeak:

http://wiki.squeak.org/squeak/3616

To use Apache to serve files for the Seaside app, Seaside's own internal web server is bypassed. So the files that Seaside normally serves from its internal libraries need to be extracted into Apache's file serving location. Here's what I discovered:

http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.seaside/12549

To start your Seaside application for a given port number, say, 9090:

cd seaside_app_location
squeak MyApp.image "" port 9090 &

No comments: