4
 HL VSolution 07/11/2012 Hướng dn cài đặt Eclip SDK c ho OpenERP Bước chun b: Download file cài đặt o Download Python from http://www.python.org . o Download Eclip http://www.vogella.com/articles/Eclipse/article.html Bước cài đặt 1. Cài Python 2.7.3.msi 2. Cài jxpiinstall. exe (!i tr"#ng $ava% 3. &i'i nn folder eclipse 4.2.1.rar) Ch*y file eclipse.exe 4. Cài đặt Eclip o Open in the menu Window -> Preference and select Pydev-> Interreter Pyt!on o Press new and maintain the path to +python.exe + in yo,r installation directory.

Hướng Dẫn Cài Đặt

Embed Size (px)

DESCRIPTION

Hướng Dẫn Cài Đặt

Citation preview

HLVSolution07/11/2012Hng dn ci t Eclip SDK cho OpenERPBc chun b: Download file ci t Download Python from http://www.python.org. Download Eclip http://www.vogella.com/articles/Eclipse/article.htmlBc ci t1. Ci Python 2.7.3.msi2. Ci jxpiinstall.exe (Mi trng Java)3. Gii nn folder eclipse 4.2.1.rar, Chy file eclipse.exe4. Ci t Eclip Open in the menu Window -> Preference and select Pydev-> Interpreter Python

Press new and maintain the path to "python.exe" in your installation directory.

The result should look like the following.

5. Python program in Eclipse Select File -> New -> Project. Select Pydev -> Pydev Project.

Create a new project with the name "de.vogella.python.first". Select Python version 2.6 and your interpreter.

Press finish.

6. Gii nn Source OpenERP 6.1 copy vo C:\ni ci workshapce ca Eclip\src7. Chut phi openerp-server Run As Run Configuration (x)=Arguments Copy on config.txt vo Arguments--db_host=localhost --db_port=5432 --db_user=openpg --db_password=openpgpwd --addons-path="D:\Code\OpenERP61\src\openerp-6.1\openerp\addons",D:/Code/OpenERP61/HLVProfile,D:\Code\OpenERP61\addons-bar,D:\Code\OpenERP61\addons-erci

8. Chut phi openerp-server Run As Python Run(*) Hin ra thng bo li Thiu th vin , Copy t folder Package vo folder C:\Python27\Lib\site-packages

9. Vo Window -> Preference and select Pydev-> Interpreter Python. Xa config Python Interpreters ban u , Auto Config li

10. Tt cc service OpenERP 6.1 hin ti. Sau chut phi openerp-server Run As Python Run. Cui cng m trang web a ch localhost:8069 Finished!