Thanks FEIGAMESNB
First step : Install the python2.7 environment
Go to https://www.python.org/downloads/Download the Windows version of Python, select version 2.7, install as prompted, and add the installation path to the system variables!
Step two : Install Pycharm
Go to the official http://www.jetbrains.com/pycharm/download/Download Pycharm Community Edition, follow the prompts to install!
Step three : Install PostgreSQL
Go to official http://www.postgresql.org/download/windows/and follow the official instructions to install pgadmin3 and install the database!
Fourth step : Download Odoo source code
Go to http://nightly.odoo.com download the corresponding version of the source and unzip it with Pycharm Open!
and create a new openerp-server.conf file with the following contents:
[options]db_host = 127.0.0.1db_port = 5432db_user = Odoodb_password = Odooaddons_path = xxxxxxxxx Fill in according to the actual address, do not have Chinese-modify Requir ements.txt:psycopg2==2.5.3 >> psycopg2==2.6.0 python-ldap==2.4.15 >> python-ldap==2.4.19 Delete gevent== 1.0.1 reportlab==3.1.8 >> reportlab==3.1.44
Fifth Step : Install the PIP tool to install some of the dependent libraries required by Odoo!
Pip installation method is many, here is no longer verbose, you can refer to: http://jingyan.baidu.com/article/e73e26c0d94e0524adb6a7ff.html
After the PIP is installed, use PIP to install the Odoo dependent library, with the specific content referenced in the Odoo installation of the dependent libraries required!
-Install the Python driver for PG, Psycopg2-2.6.0.win-amd64-py2.7-pg9.4.1-release (https://pypi.python.org/pypi/psycopg2/2.6)- Install Python's VC compiler, VCFORPYTHON27 (http://www.microsoft.com/en-us/download/details.aspx?id=44266)-Install Access library for Windows System API , pywin32-219.win-amd64-py2.7 (http://sourceforge.net/projects/pywin32/files/pywin32/Build%20219/)-Download and install the Directory Access library, PYTHON_LDAP?2.4.19?CP27?NONE?WIN_AMD64.WHL (http://www.lfd.uci.edu/~gohlke/pythonlibs/)-Install wkhtmltopdf, and add the path system variable-download and install the PDF processing Library, REPORTLAB-3.1.44-CP27-NONE-AMD64.WHL (http://www.lfd.uci.edu/~gohlke/pythonlibs/)- Install node. js and less (required for version 9.0) 1, install node. js http://nodejs.org/download/
Run node-v directly on the command line, and the command lines will print out: v0.6.1, indicating that the installation was successful.
2. Install CNPM NPM install-g cnpm-registry=https://registry.npm.taobao.org
The command line runs CNPM install underscore and returns a similar [email protected]./node_modules/underscore, indicating successful installation
3, installation Less,git run CNPM install-g [email protected],
Run the less example:
LESSC--compress all.less > All.min.css lessc all.less > All.css
4. Install less plus clean-css cnpm install-g less-plugin-clean-css https://libraries.io/npm/less-plugin-clean-css
Sixth Step : Configure Pycharm as
Get!
1. Use Pycharm to build the development debugging environment "turn"