Hi, If I want to use my locally built dataHub-inge...
# ingestion
m
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
Hello! I’m not sure I understand the question - can you provide a bit more context?
m
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
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
Thank you, but it is not possible to copy only venv, we need to copy the metadata-ingestion directory. 😊
h
Yeah, it depends on how you are using it.
👍 1