Re: Enable development via Docker

From: Richard Yen <richyen3(at)gmail(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL WWW <pgsql-www(at)lists(dot)postgresql(dot)org>
Subject: Re: Enable development via Docker
Date: 2020-02-24 00:02:21
Message-ID: CAKH4vDgSqD2Jn4MhHwnxBSygVa4Z9Zz+5AfP1e6koSnZajGJJA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Sun, Feb 23, 2020 at 6:27 AM Magnus Hagander <magnus(at)hagander(dot)net> wrote:

> On Sat, Feb 22, 2020 at 10:02 PM Richard Yen <richyen3(at)gmail(dot)com> wrote:
> >
> > Hi,
> >
> > After briefly discussing with J. Katz on Slack, I just thought I'd share
> a few Docker-related files to make it easier to spin up development
> environments for the website. Hope this might prove to be useful.
>
> First of all, I like this idea -- anything making dev easier is a
> strong win here!
>

Thanks! Glad this might help you guys out. I know there are more
improvements to be made on these patches, so I'll work on them.

> Your second file is named "load varnish", but does not contain
> anything about varnish at all -- did you forget something there?
>

Varnish is loaded in the *.sql files in the sql/ folder. I included that
as a part of the postgres container's initdb mount. Granted, there's more
logic to be handled because there's the dev version of the varnish plpgsql
functions that need to be loaded v. the prod version. I'll work on that
when I get a chance--look for a more comprehensive patch to come through
this thread.

>
> To be properly productive I think we need to figure out a way to load
> some more data into the system though. In particular, we need at least
> some news, events and *releases* on the frontpage to make it relevant
> at all. And probably at least one batch of documentation..
>

Yeah, I can also generate that info. Would there be some sample data that
I can work with? Is a dump of this data somewhere? I couldn't find it on
git.postgresql.org (or maybe I didn't look hard enough)

Cheers,
--Richard

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Andreas 'ads' Scherbaum 2020-02-24 13:22:32 Non-personal blogs on Planet
Previous Message Magnus Hagander 2020-02-23 14:27:36 Re: Enable development via Docker