Hi, If I want to use my locally built dataHub-ingestion client on another server, how can I migrate and use it without building again?
l
little-megabyte-1074
03/15/2022, 7:19 PM
Hello! I’m not sure I understand the question - can you provide a bit more context?
m
mysterious-nail-70388
03/17/2022, 1:52 AM
Sure!I mean what if I copied my locally built DataHub-CLI to a server with no network?There is no way to build on a server without a network. Now, I copy to the same location as the path, and then I copy the environment, and I can probably execute successfully
h
helpful-optician-78938
03/18/2022, 6:43 PM
Hi @mysterious-nail-70388, you could definitely copy the entire venv folder and activate it and get the same behavior on the server. If you have made any changes to the datahub-cli code, make sure you copy the modified files as well into the appropriate location in the venv, such as <venv>/lib/<python3.x>/site-packages/datahub/<path_to_file>.
m
mysterious-nail-70388
03/21/2022, 5:42 AM
Thank you, but it is not possible to copy only venv, we need to copy the metadata-ingestion directory. 😊