How to save deployment configuration?
Answered
I am using pycharm for my Django project. I deploy it to the server in my company for testing. I have set up a deployment configuration. However, sometimes I close the pycharm or turn off my PC, I need to set up the configuration again. Is there any way I can save the configuration explicitly so I can restore it or even apply it to another project?
Thanks!
Please sign in to leave a comment.
Hello,
> However, sometimes I close the pycharm or turn off my PC, I need to set up the configuration again.
Do you mean that after PyCharm or PC restart your configuration is lost? In this case please reproduce the problem and contact pycharm-support@jetbrains.com with your idea.log (Help| Show log).
Also you can set up Deployment server for default project in File| Default Settings - it means that every newly created project will contain this configuration.
With respect, that doesn't answer the question. Is there a way to export deployment configurations? I have a similar need; I work on several different computers and have a fairly extensive deployment configuration; 30+ working with SSH interpreters (venvs). It's a huge pain to switch to a different computer and have to recreate the config on each. And sometimes work hoses my computer with an update and they end up reimaging it. A default deployment configuration isn't sufficient for my use case as each project has a different configuration.
Hi Jerod,
Have you checked the following thread?
https://stackoverflow.com/questions/43339996/phpstorm-how-to-export-deployment-settings-from-a-project-to-another-one
and
https://intellij-support.jetbrains.com/hc/en-us/community/posts/206371429/comments/207006995
Built-in support would be better as well as the ability to include encrypted credentials. Created a feature request as I don't see the solutions offered providing me with what I need. I do, however, appreciate the quick response.
https://youtrack.jetbrains.com/issue/PY-37506
related: https://stackoverflow.com/questions/71025335/how-do-i-get-my-settings-from-pycharm-in-a-file-so-not-to-lose-them-when-updatin
related: https://stackoverflow.com/questions/71025658/what-is-the-step-by-step-instructions-to-upgrade-my-pycharm-from-intel-silicon-t
https://stackoverflow.com/questions/74722287/how-does-one-share-only-the-deployment-configurations-in-pycharm-across-pych