Hello!
I just started developing my own modules. I set up a test server and I am almost ready to deploy my first odoo install into a productive environment.
Now I have a few questions regarding best practices.
1) On the productive server I set up two odoo installs (/home/odoo/odoo-prd and /home/odoo/odoo-dev). I can launch both odoo's using the same databases, so this seems to be a good start for testing / troubleshooting purposes. Or do you think it's better to create a different user just for testing purposes?
2) I added a "addons"-directory in odoo-dev where I git-cloned quite a few github repositories. Now there are serveral subfolders:
/home/odoo/odoo-dev/addons/bank-statement-importI wonder if this was a good idea... How do you work with multiple git sources for addons? Do you add every new addon-path to the config-file or do you just copy the required modules?
/home/odoo/odoo-dev/addons/c2c-rd-addons
/home/odoo/odoo-dev/addons/odoo-addons
/home/odoo/odoo-dev/addons/Odoo-addons (and a few more)
3) I copied all modules I actually want to use into a custom-directory and created a bitbucket git repository. I think I can later update these modules / add more modules to the repository so I'll be able to update all servers easily (if I should have ever more than one). Is this a good idea?
4) The odoo-server will be used by four or five different "customers". Since they have almost the same requirements I thought I would simply create a template-database, install all required modules and then create a database for each customer. Do you think it is a good idea running multiple databases on the same server/port?
Of course I would try to set up the domain-database filter, also I will have to spend some time with securing the server.
THANK YOU