[Seaside] stupid newbie questions: config to get started

Stephen Pair stephen at pairhome.net
Tue May 20 11:33:31 CEST 2003


(couple more remarks)

Tim Mansfield wrote:

>
> I've been trying to get started with Seaside, but I keep getting 
> stymied on where to find things. The web seems littered with old 
> references to extinct versions of comanche in particular, but a few 
> old tutorials on Seaside that point to odd places. Is this because 
> ownership of the code has moved from person to person or something or 
> are things just so active that it's hard to keep everything consistent? 


Both.

> From a rank newbie's perspective, it seems a little hard to get stuff 
> sorted to the point of getting started actually building something. I 
> may be dumb, thought.
>
> Once I discovered SqueakMap, I figured I was saved, so I loaded the 
> most recently mapped version (as of this morning) of ComancheNG and 
> Seaside, and tried following the "Updated Tutorial" at:
>
> http://swiki.squeakfoundation.org/sea/64
>
> (which seems to have fallen off the web today, my machine can't 
> resolve the domain name, oddly)
>
> But when I tried
>
> WAKom startOn: 9090
>
> it didn't seem to work, or at least my browser couldn't open 
> http://localhost:9090
>
> What am I doing wrong? Any guidance gratefully appreciated. 


Here's a quick start for running Comanche 6.1 with Seaside 2.21:

Install KomHttpServer from SqueakMap and answer yes to all the prompts.  
This will install all of Comanche 6.1 and Seaside 2.21 (if you want 
2.23, then opt out of installing Seaside when you install KomHttpServer 
and get 2.23 directly from Avi's website).  Then, evaluate:

    | ma seaside |
    seaside := WAKom new.
    ma := ModuleAssembly core.
    ma serverRoot: FileDirectory default fullName.
    ma alias: '/seaside' to: [ma addPlug: [:request | seaside process: 
request]].
    ma documentRoot: FileDirectory default fullName.
    ma directoryIndex: 'index.html index.htm'.
    ma serveFiles.
    (HttpService startOn: 8080 named: 'httpd') plug: ma rootModule

...and point your browser to http://localhost:8080/seaside/counter   
...that should get you into Seaside's counter demo application.

- Stephen





More information about the Seaside mailing list