简体   繁体   English

如何在 ubuntu 上从 github 安装和运行 odoo 项目?

[英]How to install and run odoo project from github on ubuntu?

I have installed odoo11 on ubuntu (via parallels on mac) and the odoo server is up and running fine.Now my client asked me to install his odoo project on my pc.我已经在 ubuntu 上安装了 odoo11(通过 mac 上的并行)并且 odoo 服务器已启动并运行良好。现在我的客户要求我在我的电脑上安装他的 odoo 项目。 He gave me the github repo link and i dont know how to go about from here.他给了我 github repo 链接,我不知道如何从这里开始。 Should i just copy the custom modules or clone the entire project?我应该只复制自定义模块还是克隆整个项目? If i clone the entire project, how do i run the odoo service from there?如果我克隆整个项目,我如何从那里运行 odoo 服务? I am new to odoo so i need some guidance on this.我是odoo的新手,所以我需要一些指导。 Thanks谢谢

Click here to see the odoo server image单击此处查看 odoo 服务器图像

Click here to see the github project files点击这里查看github项目文件

When you are running an Odoo instance, your have to mention a config file in the executable command with -c or --config option.当您运行 Odoo 实例时,您必须在带有-c--config选项的可执行命令中提及一个配置文件。 In this config file there is a derivative addons_path .在这个配置文件中有一个派生的addons_path

All you have to do is to clone the repository, and add the directory of addons (from the look of your screenshots, custom, enterprise, inception_modules, nerku, softtech ) in the addons_path of your config file.您所要做的就是克隆存储库,并在您的配置文件的addons_path中添加插件目录(从您的屏幕截图来看, custom, enterprise, inception_modules, nerku, softtech )。 after that, you will find your client addons in Odoo application apps page.之后,您将在 Odoo 应用apps页面中找到您的客户端插件。 For more information, you can follow the official documentation .更多信息可以参考 官方文档

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM