[Django]-How does djangoproject.com do its deploy to prod? Should I package my django project to deploy it?

0👍

This is a very open-ended question.

  1. I would definitely advise against git pull for many reasons.. i.e, pulling unwanted code into a production environment. There are many CI/CD services, ie AWS codedeploy, to automate this process.

  2. Rollback can also be automated at CI/CD level, many services allow you to pick a deployed revision to roll back, and/or redeploy a new revision from a previous git commit.

  3. I have not seen this type of deployment just yet.. You have the right idea, I would recommend you to check out Docker and Docker Compose

Leave a comment