Zato for Visual Studio CodeThis is a Visual Studio Code extension that enables single keypress and single click hot-deployment of the active Python source file to a Zato cluster specified in your workspace or global configuration. Setup
DeploymentMake sure that each Python module with Zato services contains this marker at the top: zato: ide-deploy=True That will signal to the extension that this particular Python file contains services that can be hot-deployed to clusters. Next, while editing a Python source file, simply tap Ctrl-Shift-L (or Cmd-Shift-L on Mac) to start deployment of the current file. The file's basename is used as its module filename on the server. The hot-deploy feature is additionally available from the command palette (Ctrl-Shift-P) and as an editor toolbar option. The source file is always assumed to be in UTF-8. This matches the expectation that Zato modules are always written in UTF-8. |