redarc icon indicating copy to clipboard operation
redarc copied to clipboard

Documentation Clarification Needed

Open mokahless opened this issue 1 year ago • 8 comments

I'm running into a number of errors attempting to get this running. If any of them are real errors and not my own mistakes, then I will create separate issues for them. For now, I am assuming this is my own misunderstanding of the instructions, hence this issue requesting better documentation.

  1. Instructions to download the contents of git into working directory missing from docker setup (realized this when I read what docker build does).
  2. Instructions on where to place the reddit dumps missing.
  3. List of prerequisites missing (and/or not everything installed by scripts)
  4. Is elasticsearch something I need to set up entirely separately and direct redarc to? I'm confused as to how this works.

I can't for the life of me figure this second one out. I tried searching the codebase for references to the submissions zst files and couldn't find anything.

For number 3, I found I needed to get the first script running: python3 python3-pip pip install pyscopg2-binary

I ran the first script on reddit/submissions/2023-09.zst. I am unsure if that's what I'm supposed to do. Anyway, I tried running it from both docker exec inside the redarc container and from outside the container. Either way, I would get some sort of connection error. Wrong password or connection refused, depending on... I don't know. Oddly, it seems to be attempting to connect to localhost? That's not where the postgres db is. And the working directory is only in the redarc container. Maybe I'm misunderstanding this.

The web frontend does load. But obviously as above, there's no subreddits listed.

Cheers and thanks for the excellent frontend.

mokahless avatar Jun 13 '23 06:06 mokahless