How do you configure Django for simple development and deployment?

后端 未结 14 1593
闹比i
闹比i 2020-11-30 16:14

I tend to use SQLite when doing Django development, but on a live server something more robust is often needed (MySQL/PostgreSQL, for example). Invariably, there are other c

14条回答
  •  鱼传尺愫
    2020-11-30 16:55

    In fact you should probably consider having the same (or almost the same) configs for your development and production environment. Otherwise, situations like "Hey, it works on my machine" will happen from time to time.

    So in order to automate your deployment and eliminate those WOMM issues, just use Docker.

提交回复
热议问题