aau-giraf / web-api

The backend API for GIRAF — a .NET-core project written in C#.
GNU General Public License v3.0
2 stars 5 forks source link

Create pictogram folder locally, when running the Docker environment. #381

Open JMyrtue opened 9 months ago

JMyrtue commented 9 months ago

Description

When seeding the database, a local pictogram folder is created, however, when it is run through the new Docker functionality, the pictogram folder is created in the docker environment, and not locally, which means that few integration tests fails, as they are dependent on the local pictogram folder. Furthermore, it is likely that any request to the web-api that relates to pictograms either does nothing or crashes the web-api.

The quick-fix currently used, is that all pictograms are added to GitHub, thereby ensuring the folder i present after the repository have been cloned, however, arguably it would be preferred to not upload all pictograms to GitHub.

Possible Suggested Solution