Home  >  Q&A  >  body text

python - win Pycharm 项目如何实时同步到remote server上

1 win 环境下使用pycharm IDE编辑Python 项目
2 在remote server上运行和调试该项目,
3 因为,remote server 是全命令行,如何使win pycharm里的项目实时更新到remote server上?
4 保持代码 annotato的正确性~

大家讲道理大家讲道理2741 days ago901

reply all(3)I'll reply

  • ringa_lee

    ringa_lee2017-04-18 10:17:31

    Configure the local synchronization directory, and then select AutoUpload. Every time the code is changed, it will be automatically synchronized to the remote. The details are as follows: Tools -> Deployment -> Configuration,> add the synchronization server with the + sign in the upper left corner. I chose the sftp type here. After filling in the account password, you can test the connectivity. Then select ‘user this server as default’ in the mappings tab and configure the mapping path. It’s inconvenient to post the picture, please refer to the article link description
    If it doesn’t work, we will discuss it again

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-18 10:17:31

    This is a very practical function on pycharm, which is introduced in detail on the official website.
    http://confluence.jetbrains.c...

    reply
    0
  • 阿神

    阿神2017-04-18 10:17:31

    The main problem is that .git under win and .git under remote Linux cannot be consistent, so that the modification information is out of sync and the code annotato information changes.

    reply
    0
  • Cancelreply