Coming soon to 3.0 and available now in 2.x: IDE hot-deployment!


#1

Hi all,

We’ve just landed some exciting new IDE hot-deployment functionality, initially supporting PyCharm and Visual Studio Code. If you use either environment, we would be very eager for early feedback!

There is a post (including obligatory screenshots) up on the blog with more information:

https://zato.io/blog/posts/ide-hot-deployment.html

Thanks,

David


#2

How about Sublime Text support?


#3

@chadical - I agree that it would be nice, indeed.


#4

In the meantime, I’m using Sublime SFTP (commercial plugin)…
https://wbond.net/sublime_packages/sftp

I’ve used this for years for various other projects. It works great for push deploying via sftp into a zato environment. Just config the root dir of the sftp target to point to /opt/zato/env_1/server1/pickup/incoming/services…

drop this file into a folder with services… on save it will sftp the file to the services pickup.
I do have to say - zato picks up and deploys the files instantaneously. fantastic.
sftp-config.json
{
// The tab key will cycle through the settings when first created
// Visit http://wbond.net/sublime_packages/sftp/settings for help

// sftp, ftp or ftps
"type": "sftp",

"sync_down_on_open": false,
"sync_on_save": true,
"sync_same_age": true,

"host": "zato1",
"user": "zato",
// Uses current users ssh keys by default
//"password": "password",
//"port": "22",

"remote_path": "/opt/zato/env_1/server1/pickup/incoming/services",
//"file_permissions": "664",
//"dir_permissions": "775",

//"extra_list_connections": 0,

"connect_timeout": 30,
//"keepalive": 120,
//"ftp_passive_mode": true,
//"ftp_obey_passive_host": false,
//"ssh_key_file": "~/.ssh/id_rsa",
//"sftp_flags": ["-F", "/path/to/ssh_config"],

//"preserve_modification_times": false,
//"remote_time_offset_in_hours": 0,
//"remote_encoding": "utf-8",
//"remote_locale": "C",
//"allow_config_upload": false,

}