What are good code deployment strategies?

I am working on a Django project. And our team adheres to flexible practices (TDD, very short launch time, etc.).

When it comes to the function deployment phase, we follow the manual procedures to get the code deployed on our production machine. Manual procedures in the sense of running test cases (of the entire project) manually and running syncdb (or any recent db changes) manually and other things.

This training material takes about 1/2 hour a day, every day. So I wanted to automate this. So, is there any automatic deployment system or something that accepts the commands that I give and do what I want, or should this be done only MANUALLY ?? (using a simple shell file that has all my commands. In this case, I need to learn a little about shell programming because I don’t want to update my latest code on my production machine if any test case does not work. There are conditions for deployment, which may include a bit of shell programming. I think!)

+3
source share
2 answers

, , Python- Capistrano - Fabric, , , . , , / , , - , . YMMV. .

EDIT: , . http://docs.fabfile.org/

+4

, Agile, , .; -)

Ruby/Rails Capistrano Vlad The Deployer, Python/Django , AFAIK .

, , Capistrano Django, .

, ? - Python - ?

+1

Source: https://habr.com/ru/post/1704949/


All Articles