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/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.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 12/29/15, 6:01 AM|
|Seen: 436 times|
|Last updated: 12/29/15, 7:11 AM|