Skip to content

Discussion: Improvement suggestions #1

@A7exSchin

Description

@A7exSchin

Hi there RagRug team,

we are currently aiming at using the RagRug toolkit for situated data presentation. While trying to set up the environment we encountered several issues:

  1. The current backend setup seemed to only work on unix hosts with a certain user setup. The dependency on the host filesystem for mounts and permissions is not considering Docker best practices. Windows users using MingW64 are out of luck, as $(pwd) is resolves the mount path to ../mnt;C. I see that is no particular issue with ragrug, but docker offers tools for platform independency (see later)
  2. The RagRug container includes modules that require a higher version (v12) than it installs (v10).
  3. The RagRug setup Script references an old file rr_002.json instead of rr_last.json
  4. The used node-red-contrib-cloudantplus module is deprecated, replaced with node-red-node-cf-cloudant
  5. Using docker-compose makes a lot of the scripting unnecessary. Compose offers tooling to set up a system of containers as well as shut them all down.

We have forked the repo and sketched the docker-compose structure as well as updated the NodeJs version and the cloudant module (as well as the flows in the rr json). The changes also make RagRug executable on windows machines with git bash.

The updated fork can be found here: https://github.com/A7exSchin/ragrug

If there is anything more that comes to our attention I will update the issue.

P.S: Due to the compose structure some of the hostnames are not updated, yet

Edit 1:
Another questions popped up.
In the build-and-run-local-docker-dev.sh file you are mounting the whole root/backend/mnt folder into the ragrug container. Why is this necessary?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions