Synchronizing changes to remote server code using Pycharm | Python

Source: Internet
Author: User
Tags virtual environment

#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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.