[pycsw-devel] proper way to host a pycsw css stylesheet

Tom Kralidis tomkralidis at gmail.com
Tue Aug 13 04:38:30 PDT 2024


Perhaps a Dockerfile which bases geopython/pycsw and then override the
various HTML template files?  Having said this, it sounds like this can be
met by [1] with a configuration based template definition approach.

Thanks

..Tom

[1] https://github.com/geopython/pycsw/issues/777

On Mon, Aug 12, 2024 at 4:25 AM Paul via pycsw-devel <
pycsw-devel at lists.osgeo.org> wrote:

> Hi list, just curious to learn what is the best way to host a tailored css
> stylesheet with pycsw, with the wsgi_flask application in a typical docker
> setup.
>
> The current docker image runs a single flask app, no webserver to host
> additional assets. For this scenario is it better to run the flask app as
> wsgi in apache and use apache to host additional resources?
>
> In general is it better to run pycsw within apache in production
> situations? Discussion like
> https://www.reddit.com/r/Python/comments/8bb102/why_shouldnt_one_use_flask_bottle_django_etc/ seem
> to indicate that running a webserver is better for example to allow
> mulitple threads. If so, then the question could be relevent, Should the
> pycsw community maintain a docker image using this webserver embedded mode?
>
> Hope to hear back from you, regards Paul.
>
>
> _______________________________________________
> pycsw-devel mailing list
> pycsw-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pycsw-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pycsw-devel/attachments/20240813/55704ffa/attachment.htm>


More information about the pycsw-devel mailing list