Configure openerp on ubuntu 14.x(14.10)

Openerp enviroment
    sudo apt-get install libpq-dev python-passlib 
 python-dev python-pychart python-werkzeug  python-dateutil python-yaml python-unittest2 python-mock  python-openid python-docutils  python-pip  python-psycopg2  python-decorator python-psutil python-pypdf postgresql -y
    sudo pip install  Flask-Babel simplejson   mako  pyyaml 

PSQL
        sudo su postgres
        createuser openerp -P
        psql
            //create database openerp;
            //ALTER DEFAULT PRIVILEGES FOR USER openerp GRANT ALL
            //alter user user_name with password 'new_password';
            alter role openerp superuser ;

Openerp configure
    Always being: odoo[7|8]/debain/openerp-server.conf
 -----------------------
        [options]
        ; This is the password that allows database operations:
        ; admin_passwd = admin
        db_host = False
        db_port = False
        #!!   make the user to be  current openerp running user,if wrong may come up with "no web module web_kanban" error.
        db_user = openerp
        db_password = False
        #!!!  make sure the directory here include the local module and dev module
        addons_path = /home/openerp/odoo8/addons,/home/openerp/extra_addons_cdrj  
    ---------------------
    
    IF U a develop of openerp,make sure develop menu bee seen to u.
        Select "setting"->"Users"->username(like Administration)->"Technical Features" ,then reload page.  

Start server
    #no module named web_kanban
    # It likes a bug ,shoud use "./openerp-server --addons-path=addons" start but not "./openerp-server"
    ./openerp-server --addons-path=addons
    ./openerp-server --addons-path=addons,addons --log-level=debug

Saw the port,than visit with  http://ip:port  .




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值