Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.
bdunnette edited this page Jan 7, 2013 · 6 revisions

Welcome to the portero wiki!

Installing OpenERP 7

Portero is currently designed to work with OpenERP version 7.x as a "back-end".

To install OpenERP 7 on Ubuntu 12.04:

  1. Install the Ubuntu packages that OpenERP depends on:

    sudo apt-get install postgresql-client python-dateutil python-docutils python-feedparser python-gdata python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid python-psutil python-psycopg2 python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi graphviz ghostscript postgresql python-imaging python-matplotlib

  2. Download the latest OpenERP package:

    wget http://nightly.openerp.com/7.0/nightly/deb/openerp_7.0-latest-1_all.deb

  3. Install OpenERP:

    sudo dpkg -i openerp_7.0-latest-1_all.deb

  4. Configure OpenERP

Installing Portero & Flask

Portero is based on the Flask web framework, and uses the openerp-client-lib, so to make it run:

  1. Install Flask and related packages:

    sudo apt-get install python-flask python-flaskext.wtf python-pip

    sudo pip install openerp-client-lib Flask-Bootstrap

  2. Download Portero (usually to e.g. /var/www/portero)

  3. (Optional) Replace /etc/apache2/sites-available with apache-site file from portero

  4. Copy portero_config.py.dist to portero_config.py and edit appropriately

Clone this wiki locally