-
Notifications
You must be signed in to change notification settings - Fork 5
Description
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:
- 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)
- The RagRug container includes modules that require a higher version (v12) than it installs (v10).
- The RagRug setup Script references an old file
rr_002.jsoninstead ofrr_last.json - The used node-red-contrib-cloudantplus module is deprecated, replaced with node-red-node-cf-cloudant
- 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?