"bench set-config -g developer_mode false" or "bench setup production"?

From the documentation, it looks like both commands work to enable production mode, so what’s the difference between the two?

1 Like

There’s no such thing as “Production Mode” in frappe.

There is a “Production setup” which you can do by running bench setup production. This basically sets up Nginx, Supervisor, Fail2Ban, etc.

developer_mode is a configuration that can be done irrespective of whether you’re using a developer setup or a production setup. Although it is not recommended to switch it on for production sites.