Re: /files application

Mariano Martinez Peck <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <CAA+-=mUwDhuChNSU03TrwXmdh7uJrmtz63x3uD_q_Y9OBkCk+w@mail.gmail.com>
On Tue, Nov 27, 2018 at 4:29 PM Bernhard Pieber <[email protected]> wrote:

> Hi Mariano,
>
> Thanks for the tip. I will give that a try. I assume that WAAdmin clearAll
> removes the /files application as well, and that I would have to serve
> JQuery statically as well for it to work, right?
>

Yes. You can use #deployFiles to export all your file libraries into .js or
.css that then server via external webserver


>
> Cheers,
> Bernhard
>
> > Am 27.11.2018 um 13:40 schrieb Mariano Martinez Peck <
> [email protected]>:
> >
> >
> >
> > On Mon, Nov 26, 2018 at 2:13 PM Bernhard Pieber <[email protected]>
> wrote:
> > Hi,
> >
> > I am using a file library (JQDeploymentLibrary) in a deployed image. If
> I enter /files I get a listing of all flle libraries under the heading of
> "Index of /files". I would like to remove that functionality in the
> deployed application. It seems I cannot just remove the /files application
> itself because if I do JQuery stops working. I'd appreciate any tips on how
> to solve that.
> >
> >
> > Usually, when I am deploying in production and I serve static files from
> an external web server what I do is:
> >
> > WAAdmin disableDevelopmentTools.
> > WAAdmin clearAll.
> > self registerMyApps.
> >
> > There, just change "self registerMyApps." to whatever code you use to
> register your own apps....so basically I unregister everything and then
> just register my apps...
> >
> >
> > --
> > Mariano
> > https://twitter.com/MartinezPeck
> > http://marianopeck.wordpress.com
> > _______________________________________________
> > seaside mailing list
> > [email protected]
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> _______________________________________________
> seaside mailing list
> [email protected]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


-- 
Mariano
https://twitter.com/MartinezPeck
http://marianopeck.wordpress.com

_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.