[Seaside] Loading seaside into Pharo core (stable)

Philippe Marschall philippe.marschall at gmail.com
Mon Feb 14 09:31:41 UTC 2011


2011/2/14 Pablo <pablogancharov at gmail.com>:
> I almost get it but when the script finish, and I go to localhost:8080
> I get an error:
>
> Error: you are forbidden to access "/"

That's a feature. Directory listing is disabled by default. You should
be able to access /config though.

> Can someone explain what I have to do to, thanks
>
>
> PD: I use this script and Pharo 1.1.1-stable:
>
>
> "Clean the image"
> ScriptLoader new cleanUpForProduction.
>
> "Load the latest stable seaside"
> Gofer new
>    squeaksource: 'MetacelloRepository';
>    package: 'ConfigurationOfSeaside30';
>    load.
>
> ((Smalltalk at: #ConfigurationOfSeaside30 ) project stableVersion)
>        load: #( 'Base' 'Seaside-Adaptors-Comanche' 'JQuery-UI' 'Seaside-Examples').
>
>
> "Start the server"
> WAComancheAdaptor startOn: 8085.

In general it's better to use WAServerManager.

Cheers
Philippe


More information about the seaside mailing list