Adapting the configuration file for production
In Chapter 1, Installing the Odoo Development Environment we have seen how to save the configuration of the instance in a file. We used the default values for lots of parameters, and if you've followed the Standardize your instance directory layout recipe in Chapter 2, Managing Odoo Server Instances, as well as the previous recipe for the production installation, you should now have that same configuration file in the production environment. This recipe shows how to derive a configuration file that is suitable for use in production.
Getting ready
We assume that you have installed Odoo on the production server with the previous recipe, Install Odoo for production. We assume that you will be running PostgreSQL on the same server as Odoo.
You may want to install the pwgen
utility to generate random passwords.
We are describing the steps here as if you were running them on the production server, but they can also be executed on your development...