On Sun, Feb 23, 2020 at 6:27 AM Magnus Hagander <magnus@hagander.net> wrote:
On Sat, Feb 22, 2020 at 10:02 PM Richard Yen <richyen3@gmail.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)