CentreForDigitalHumanities / tscan

T-scan: an analysis tool for dutch texts to assess the complexity of the text, based on original work by Rogier Kraf
GNU Affero General Public License v3.0
18 stars 6 forks source link

config.sh: No such file or directory when running docker compose up #69

Closed AntheSevenants closed 1 year ago

AntheSevenants commented 1 year ago

I cloned the repository and ran docker compose up. Unfortunately, the build process errors at this stage:

 => ERROR [ 5/13] RUN bash config.sh                                                                   0.4s
------
 > [ 5/13] RUN bash config.sh:
#0 0.428 bash: config.sh: No such file or directory
------
failed to solve: process "/bin/sh -c bash config.sh" did not complete successfully: exit code: 127

I see that config.sh is part of .gitignore, so it doesn't ship with the repository. Is any input required on my part, or is this an oversight?

Thanks in advance!

oktaal commented 1 year ago

https://github.com/UUDigitalHumanitieslab/tscan/blob/master/docker/deployment/config-example.sh contains a file to copy into the same directory as config.sh. I wouldn't depend too much on this way of running things as it's going to be replaced because it's currently dependent on lamachine (#70). (It will still use Docker)

AntheSevenants commented 1 year ago

Thanks! I assumed I could just run docker compose up since there wasn't any mention of configuration. I'll be keeping an eye out for the new deployment 🙂. Thanks again