#Pycharm Remote Connection | programming |
# Choose project Path carefully!! Don't pick the wrong! It's best to do a backup when you pull down the server project source code! Or choose the Xshell or terminal connection way! 1. Connect two items of Tools--Development and Configuration--Connection Select and fill in the sftp host:[email protected]***.***.**.***and User Name,password-Mappings Local Path: Select development path on server'Name': Select a project in the server#if the two selected items are not the same, the locally modified code is created in the server; ###### If both ends have the same filename, but the file code is different, after you modify it, ###### ###### Local code will overwrite the remote server code; ###### ######! This is horrible! If the local project is wrong, you have to make changes | Submit! GG #####-OK2. Two project Data Update Sync | Set CTRL +s shortcut keys#You can also manually submitTools--development--and Options--Upload changed files ...: on explicit save Actioin (Ctrl+S)-OK3. Select Interpreter-+Add-Remote Host-SSH Credentials-fill in the IP, user name, password, you can choose the interpreter on the server, including the virtual environment;4.Tools-startsshsession Open remote server terminal
Synchronizing changes to remote server code using Pycharm | Python