KNOWLEDGE BASE

How to Deploy Functions to TabPy Server


Published: 17 Sep 2021
Last Modified Date: 20 Sep 2021

Question

How to deploy functions to TabPy server.

Environment

  • TabPy
  • Linux

Answer

Follow these steps:
  1. Go to the TabPy server URL in a web browser. This loads the TabPy Server Info page. 
  2. Note the location of the tabpy packages, indicated by "state_path". (This page also lists the deployed models or functions.)
  3. Connect to the Linux server, and navigate to the location of the tabpy packages (the directory name is "site-packages") using the cd command.
  4. Start an interactive session of a supported Python version, for example: 
    python3.7
  5. Follow the steps in TabPy Tools to connect TabPy client to the TabPy server, and to use the TabPy client to deploy and query python functions.
Did this article resolve the issue?