Loading seaside into Pharo core (stable)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Loading seaside into Pharo core (stable)

pablo
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 "/"


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.
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Loading seaside into Pharo core (stable)

Yanni Chiu
On 13/02/11 11:48 PM, Pablo wrote:
> 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 "/"
... stuff deleted
> "Start the server"
> WAComancheAdaptor startOn: 8085.

Is that really portno 8085, or a typing mistake?

Also, you might want to hold off on doing #cleanUpForProduction until
you've got a working system, then apply it for your deployment build.

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Loading seaside into Pharo core (stable)

Philippe Marschall
In reply to this post by pablo
2011/2/14 Pablo <[hidden email]>:
> 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
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Loading seaside into Pharo core (stable)

pablo
Thanks Philippe Marschall,
it seems that all the applications are disabled by default and it is ok for a production environment.

But I want to enable a Pier Blog, How could I do that?

Thanks in advice.

Reply | Threaded
Open this post in threaded view
|

Re: Loading seaside into Pharo core (stable)

Philippe Marschall
2011/2/14 pablo <[hidden email]>:
>
> Thanks Philippe Marschall,
> it seems that all the applications are disabled by default and it is ok for
> a production environment.
>
> But I want to enable a Pier Blog, How could I do that?

Best ask on [hidden email]

 [1] http://www.piercms.com/contact

Cheers
Philippe
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside