Pycharm Remote functionality

Hi Jetbrains. After obtaining a copy of Pycharm Pro im really enjoying all of its features.  So much so that i felt the need to ask "Is this the right way or recommended way to do this" sort of question

I am running windows 10 with pycharm pro. plenty of resources available for VM's so i want to simulate a dev to push scenario locally all on linux as its my preferred OS.  So just to clarify if i lay it out like this

Localhost Windows 10

Local VM Developer host Ubuntu VM server

Local VM 2 Ubuntu Dev Webserver

 

What i would like to do is have a git repo and do all my coding through Pycharm pro on windows but have it all stored on my Local VM developer ubuntu host.  Then once its in a good state "push it to prod" which is on the other Local VM2 ubuntu dev webserver host.

I obviously want to drive it primarily out of Pycharm on the win10 host. Is this possible?  Setting up a remote SSH connection in pycharm is only good for deploying code, not managing and writing code i have read. 

Am i best setting up a Vagrant instance that i can connect my Pycharm 10 windows instance to do dev work or have a GUI within the Ubuntu VM that has pycharm running within that?

Apologies if its unnecessarily  complex, i am wanting to build a new workflow on how to deploy code to prod via git or heroku or something but test it locally first.  im proficient in VM's, Linux and windows, just a n00b when it comes to writing and deploying code! : )

Thanks in advance

1 comment
Comment actions Permalink

Hi,

>Setting up a remote SSH connection in pycharm is only good for deploying code, not managing and writing code i have read. 

Every remote coding solution that PyCharm has, suggest that you work on your code locally, then execute it in a remote environment. There's no supported way to edit remote files over the network directly. You can use X11 forwarding, but this will likely cause some performance issue, and is not a good experience at all.

In the end, my official recommendation would be to have a local repo when you work on your code. Every other workaround is kind of hacky.

0

Please sign in to leave a comment.