run python -m pretalx rebuild
without internet access?
#1693
-
I'm running a self-hosted instance of pretalx on a server that is located in the DMZ firewall zone of our University. This means that the server cannot initiate any internet connections to the outside (either campus or rest of the internet), and all connections have to be initiated from the outside to the server. The only exception is the university's own FTP archive, which for the purposes of this discussion means that the server can only access a mirror of the Ubuntu repos. I've gotten around the issue of installing the python packages by using All works until this point but when I try to run Is there a better way? For example, could the required files be downloaded separately and then copied over to the server in a similar way as the Python wheels? Thanks for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I'm afraid running pretalx without internet access is currently out of scope. The |
Beta Was this translation helpful? Give feedback.
I'm afraid running pretalx without internet access is currently out of scope.
The
rebuild
command checks for the presence of thenode_modules
directory in order to decide ifnpm install
should be run, which requires internet access. Building pretalx packages / wheels with the fullnode_modules
directory included would result in a fairly large bundle, and setting this build up to work reliably is currently just not a priority, I'm afraid – we did consider it for a bit, but as we'd still require nodejs to be installed on the server, we judged it to be not worth the effort it would require.