Regarding the compressed file that is downloaded from uv.es, it is the compiled code of the frontend. I already told you that whenever you want, you can upload it to your server and you just have to modify the download url in the nginx dockerfile. Replace https://www.uv.es/commlab/assets/carputilsgui/carputilsgui-v0.1.tgz with your download url.
I attach the file that you would have to upload to your servercarputilsgui-v0.1.tar
Hi Axel, I just updated the requirements.txt file in the project. The docker Backend depends on the opencarp docker and its version of python. I think maybe the opencarp docker has been upgraded to a higher version of python and some of the requirements libraries needed a higher version to work. I have tested it on Linux and Macos M1 and it works fine. Try if this fixes it
Dolors Serra (7a2cf6a4) at 16 Aug 16:10
Updated versions requirements.txt
Hello everyone, I told you a long time ago that since the images are already in your repository, the user does not need to download and build with all the code, that we could create a docker-compose that only downloads the images from the repository and links them all. The user only needs a new docker-compose.yml and the database configuration file, with those two files he runs docker-compose up in the terminal and in 2 minutes he has the application running in the explorer. I hope I have explained myself well, my English is a bit poor :( I have created the docker-compose that downloads and builds everything. Now I attach a zip with the two files and you try it.carputilsgui_composeNew.zip
Done, I have checked it and works. But if anyone can check it, we make sure
Dolors Serra (2cb202c1) at 29 Jun 16:22
Delete carputils_settings.yaml
Dolors Serra (e689f653) at 29 Jun 16:19
Deleted carputils libraries
Dolors Serra (4ae07930) at 29 Jun 16:16
Installation of carputils and tutorials download deleted. Not neces...
Hi @yung-lin.huang, thanks for your help.
The reason for duplicating tutorials and carputils, was because when I started programming the GUI, openCarp docker was constantly changing and I couldn't rely on it because even the path to the tutorials has changed since then. And when I finished the GUI and openCarp docker already had a stable version, Jochen proposed to base the GUI on the openCarp image and it was changed but the duplicates remained. Reviewing everything since yesterday I have verified that it is no longer necessary to duplicate the installation of carputils, or download the tutorials separately. I have built the images locally and I think it will work fine by deleting the duplicate. And so, the GUI will not depend on updates if openCarp has the updated libraries.
If @axel.loewe agrees I can modify everything and we test it.
Dolors Serra (bc68dbe4) at 29 Jun 14:15
Update README.md
Hi @m.houillon,
perfect with this change to avoid failure in future tutorials
@axel.loewe, I was going to test if everything works fine now, but there is a new tutorial that have not added the GUIinclude flag and the application crashes.
The tutorial is:
https://git.opencarp.org/openCARP/experiments/-/blob/master/tutorials/02_EP_tissue/22_simple/run.py
If you add the flag, I can check if everything works fine with the latest changes.
@yung-lin.huang don't worry, because carputilsGUI runs the tutorials with the openCarp container, and if you've updated it, there is no problem. The problem is that the backend installs carputils separately to import all the tutorials at the beginning and copy them to the volume and fill the DB. So we have to add in the backend dockerfile, the installation of carputils with its requirements.txt, as you do in Dockerfile. But I can't find the line that does it in the openCarp Dockerfile, is L18 correct?