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!

 

 

0
7 comments

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.

0

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.

0

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

0

Please sign in to leave a comment.