You’ll get a lot of different views on this. I’ve settled on Digital Ocean running Docker after a few iterations. I’m not saying it’s the best way to do it but here are my reasons:
A few caveats (based on my experience) - You have to consider how you manage state between deploys. For example I run some database initialisation scripts which add done standard reference data but I want it to run slightly differently if I’m creating a new environment or deploying to an existing one. It wasn’t difficult but there were more nuances than I had considered. - you have to decide how you will manage settings files for different types of environment. I have settings for dev, staging and live. There are different approaches. - You need to decide how you are going to manage secrets. API tokens etc. again I found this more fiddly than I expected. I keep my secrets in my GitHub repo’s secrets vault but you have to be careful how they get passed around without exposing them. I’m sure others will have different views so you will need to decide based on your situation but I hope this helps. Thomas Sent from my iPhone On 6 Dec 2024, at 14:58, yaamoussa-solution <yaamoussa02di...@gmail.com> wrote:
You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/django-users/67DEC349-FB70-4CB8-BD8B-B4EB0554C665%40genonline.co.uk. |
- Hosting Recommendations? Steve Smith
- Re: Hosting Recommendations? kemo njie
- Re: Hosting Recommendations? Alexei Ramotar
- Re: Hosting Recommendations? Pradeep Chowdhary
- Re: Hosting Recommendations? Luciano Martins (luxu)
- Re: Hosting Recommendations? Sebastian Jung
- Re: Hosting Recommendations? Konstantinos Dimitropoulos
- Re: Hosting Recommendations? yaamoussa-solution
- Re: Hosting Recommendations? thomas.gayl...@genonline.co.uk