python - How to elegantly upgrade online Django code?
我想大声告诉你
我想大声告诉你 2017-05-16 13:20:58
0
3
738

The existing deployment was previously uploaded to the server through scp, and the use of git was prohibited on the server. Then every time new code needs to be synchronized, scp is required. Then I thought about how to achieve a good implementation like git? The premise is that version control software cannot be used! ! !
Thanks.

我想大声告诉你
我想大声告诉你

reply all(3)
滿天的星座

pycharm deployment ssh connection method remote deployment

伊谢尔伦

It’s easy not to use git. Your business code should still be hosted on a certain git platform, right? You can set up a git hooks. Whenever you have a release, the git platform will post it to the production server. After the server accepts the request, it will download the release zip package, decompress it, overwrite it and restart the service.

大家讲道理

Convert your code to ansible for one-click upgrade.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template