gutenbergtools / gutenbergsite

The Project Gutenberg Web site, database, and other internals
https://www.gutenberg.org/
The Unlicense
47 stars 12 forks source link

Where to define the actual gutenberg mirror I want to use? #39

Open Toixinhell opened 3 weeks ago

Toixinhell commented 3 weeks ago

I am running a project Gutenberg mirror pgmirror.example.com. Now I would like to host the gutenberg site as well and make it point to my mirror. Where would I configure that? I found nothing in the _config.yml

Any help would be appreciated.

gbnewby commented 3 weeks ago

Hi Toixinhell.

Mirroring of the website isn't supported. We have lots of undocumented, crufty, organically-grown components that are not under version control.

The two main elements you could mirror are under https://github.com/gutenbergtools/ gutenbergsite autocat3

The gutensite is the 70+ static web pages. These are straightforward to mirror, following the instructions on the readme page.

The autocat3 is the generator for search, landing pages, and a few related things. I could provide a PostgreSQL dump of the catalog database if you would like to pursue it. Setting up autocat3 is non-trivial, including because the glue that connects it to the website is a rather complex .htaccess file.

With those two main elements, you would have most of the PG pages. You'd be missing some of the author browsing, Top 100, and a few other pages that are generated via other code.

Project Gutenberg would not link to your mirror site because it would have missing content and it would be immediately outdated.

On Mon, Oct 28, 2024 at 6:17 AM Toixinhell @.***> wrote:

I am running a project Gutenberg mirror pgmirror.example.com. Now I would like to host the gutenberg site as well and make it point to my mirror. Where would I configure that? I found nothing in the _config.yml https://github.com/gutenbergtools/gutenbergsite/blob/master/_config.yml

Any help would be appreciated.

— Reply to this email directly, view it on GitHub https://github.com/gutenbergtools/gutenbergsite/issues/39, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFQRDLTFL6YFKHIXWOQWN7TZ5YTORAVCNFSM6AAAAABQXMZP56VHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYTQNBQGI3TEMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>