Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to develop remotely in PyCharm?

I have a lab system (with a hardware piece attached to it) which has some python test scripts. The test script sends commands to the attached hardware and receives response.

I don't want to work on the lab computer all the time. Currently, I'm using SSH from my local machine to the lab computer and using the shell to modify the scripts, run the commands etc. Using nano is cumbersome especially while debugging. I want to use an IDE (Pycharm) on my local machine in order to edit and run the scripts on the remote server. Pycharm has remote interpreters which uses the remote python but I want to be able to access and modify the scripts too, just like SSH from terminal.

How can I do that?

like image 870
ilaunchpad Avatar asked Sep 26 '22 18:09

ilaunchpad


1 Answers

PyCharm (Professional Edition only) is also capable of Deployments. You can upload/download files via SFTP directly within Pycharm and run your scripts remotely.

You can visit the following pages for further instructions on how to set everything up:

  • Setting up a deployment
  • Configuring a remote interpreter
like image 137
AdmPicard Avatar answered Oct 11 '22 05:10

AdmPicard