Pre-requisite: You should be able to do ssh without entering password. See this
Steps (Fig 1 and 2)
- Open project in PyCharm
- Make directory on server
- Test you can ssh without entering password. (Save your rsa key on server)
- Preferences -> Deployment
- Enable automatic upload https://www.jetbrains.com/help/pycharm/deployment-in-pycharm.html#upload-to-default-server
- First time upload your directory. Right click project folder -> deployment -> deploy to <machine_name>
- Add multiple directories if want to deploy on different servers.
https://www.jetbrains.com/help/pycharm/creating-a-remote-server-configuration.html https://www.jetbrains.com/help/pycharm/deployment-in-pycharm.html
Add remote python interpreter (Fig 3 and 4 in the comment)
https://www.jetbrains.com/help/pycharm/configuring-remote-interpreters-via-ssh.html
- Preferences -> Project interpreter -> ssh interpreter -> new/existing
- Select exact conda path : /scratch/../anaconda3/env/name/python
If you have a code using relative paths: (Fig 5)
- Right click folder -> Mark as -> source root
For AWS, similarly the steps can be followed as mentioned here:
https://www.codementor.io/abhishake/pycharm-setup-for-aws-automatic-deployment-m7n8uu2n4
Hi @geekygirl123, I actually use the professional edition myself. Maybe, you are right that community edition doesn't support deployment.
However, if you are a student, you can register and get the professional edition for free.