guesswho1234 / Rex

Shiny dashboard for creating and evaluating written single / multiple-choice exams and creating reusable exercise pools.
GNU General Public License v3.0
5 stars 2 forks source link

Dockerfile fix #240

Closed Falk358 closed 5 months ago

Falk358 commented 5 months ago

Two fixes:

  1. pin version of base image in Dockerfile: to prevent future dependency problems should the latest tag of the base image be changed
  2. fixed 404 file not found errors by explicitly adding the path namespace in app.R. added in commit 090bcaa370bd8fa6a9c92cc0c80547aa02e9a97d. We call `shiny::addResourcePath("www", "./www"), which addswwwnamespace and links it to thewww/` subfolder of this project. By explicitly adding this to the path in each file link where the 404 error occurred, Rex is able to find these files.

Fix 2 has also been tested with the local installation, however more testing if file uploads etc. still work is needed, since I dont have access to appropriate testfiles on my system. Heroku has not been tested yet, this still needs to be done.

guesswho1234 commented 5 months ago