Work one remote project from two PC
Answered
I bought PyCharm, so I have licence for two PCs. I have a notebook and a desktop computer, and I'd to like work on Django projects from them, not at the same time. Is it possible? If yes, how can I open the project from my second PC?
Please sign in to leave a comment.
You can use PyCharm VCS integration: https://www.jetbrains.com/help/pycharm/version-control-with-pycharm.html and put your project under VCS: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839.
Also, to keep your project interpreter settings, rename your Python SDK to have the same name on all systems (remove the OS specific path from the interpreter name). Project files keep only SDK name, not the actual SDK path, so it can be shared between different platforms.
I have been trying to do this for IntelliJ IDEA. I have tried to modify the SDK name to have the same on two machines (a Mac and a PC) but the IDE won't let me do it giving an error message "Please specify a different name". Is there a solution to this?
What ultimately I want to achieve is to work on the same project from two different computers without having to change the SDK every time I am on a different machine.
Thank you.
Hi, I'm not sure about Anna's suggestion, because .idea/workspace.xml, a file that keeps information about your run/debug configurations, also have SDK_HOME option that would be hard to keep identical between different machines, especially different OS.
My suggestion would be to exclude .idea folder from repository (or just exclude .idea/workspace.xml), then you can configure run/debug configurations separately on each machine and VCS won't interfere with them.