How to use pvpython with cookiecutter docker scripts #71
-
Hello, On our host VM we have an app using VtkRemoteView and "from paraview.web import venv". We created the app with cookiecutter and it launches fine on the host with the pvpython command. However, the scripts/build_server.sh fails with error...
From the paraview-visualizer repo I used some of the env docker settings in the build_server.sh script.
I also copied the docker file contents as well...
How can I get the build_server.sh and run_server.sh script to find the paraview module and also execute the app with pvpython instead of regular python? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
So to make your app start using pvpython inside your docker you can override the command line that get executed for a given process. Basically you will do something like below |
Beta Was this translation helpful? Give feedback.
-
Oh right, you are talking at build time... I'm fixing that problem for trame v2. But for you it is the Ideally you want to edit / skip it and manage it yourself outside of that auto build. You will have to run it by hand with pvpython yourself, but as long you place that www dir in the right server spot at the end you will be good to go. |
Beta Was this translation helpful? Give feedback.
-
Just wanted to close the loop but that problem should not be an issue anymore with the current trame v2 release and cookie-cutter. |
Beta Was this translation helpful? Give feedback.
Just wanted to close the loop but that problem should not be an issue anymore with the current trame v2 release and cookie-cutter.