Tidy up the process of ODOO10 deployment under Windows systems

Source: Internet
Author: User
Tags tidy install node

ODOO10 Environment Construction

The required dependencies:

    1. Python3.5
    2. odoo10.0
    3. node. js
    4. PostgreSQL 9.5
    5. Pycharm Professional Edition

1. First install the Python3.5, and set the environment variables

2. Download odoo10.0, which describes the Git method download:

1. 首先安装好Git,安装时注意,Git Bash&Git GUI勾选,勾选windows TrueType字体,后续操作注意选择安装Unix tools the Windows...,其他都默认2. 安装好之后打开鼠标右键就能看到Git Shell,其中常用Git Bash Here,表示在当前目录打开Git Shell

Start Download odoo10.0: Desktop right mouse button –> open git Bash here

Input: Git clone https://www.github.com/odoo/odoo–-depth=1

The command means to download the official odoo10.0 on GitHub to the Odoo10 folder on the desktop.

This command takes less time to execute than the https://github.com/odoo/odoo.git time,

Finally in the input git pull is used to view the update, see if odoo10.0 has an update

3. Install node. js

在官方网站下载6.9版本安装即可注意安装node.js时添加环境变量,其他默认即可

4. Configure Python3

5. Install all requirement.txt dependent files

pip install -r requirements.txt -i https://pypi.doubanio.com/simple这里表示使用豆瓣的源进行安装,这样会使安装更快

6. Installing PostgreSQL 9.5

下载安装包进行安装,安装过程中设置超级用户的密码,注意postgreSQL默认用户名为:postgres端口默认为5432,Locale选择默认默认会安装好pgAdmin lll管理软件,可以对PostgreSQL数据库进行管理

7. Installing Pywin32

需要安装在虚拟环境当中在命令行中并确保在env虚拟环境当中

8. Installing PyPDF2

直接下载64位也可以,下载好后直接安装安装之后需要添加环境变量,找到PyPDF2\bin目录添加到环境变量中

9. Create a user using Pgadmin lll

这里演示创建:打开pdAdmin lll链接数据库PostgreSQL点击登录角色,右键新建登录角色(注意设置为可以创建数据库)

10. Configure the operating environment inside the Pycharm

点击向下箭头,新建Run/Debug Configurations点击?号,选择运行的脚本为odoo10目录下面的odoo-bin然后命名baocun进入debian目录,复制里面的odoo.conf文件到odoo10根目录并修改配置文件[options];表示是一个注释; This is the password that allows database operations:; admin_passwd = admindb_host = 127.0.0.1db_port = 5432db_user = odoo10db_password = odoo10addons_path = C:\Users\Aeasringnar\Desktop\odoo10\addons,C:\Users\Aeasringnar\Desktop\odoo10\myaddons;这里面addons是一个绝对路径再次编辑运行环境,在Script parameters里输入-c C:\Users\Aeasringnar\Desktop\odoo10\odoo.conf表示将配置文件引入到运行模式之中最后勾选Single instance only,最后应用并关闭

11. Install the Odoo style LESSC

通过npm安装:npm install -g less less-plugin-clean-css(注意不能在虚拟环境中安装,在控制台中输入命令)验证:在控制台中输入lessc

12. Start Running Odoo10

点击运行,第一次进入需要创建数据,设置管理员用户,进入之后激活开发者模式,然后将当前用户设置为会计顾问的状态点击应用,安装CRM

Tidy up the process of ODOO10 deployment under Windows systems

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.