-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Welcome to the portero wiki!
Portero is currently designed to work with OpenERP version 7.x as a "back-end".
To install OpenERP 7 on Ubuntu 12.04:
-
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
-
Download the latest OpenERP package:
wget http://nightly.openerp.com/7.0/nightly/deb/openerp_7.0-latest-1_all.deb
-
Install OpenERP:
sudo dpkg -i openerp_7.0-latest-1_all.deb
Portero is based on the Flask web framework, and uses the openerp-client-lib, so to make it run:
-
Install Flask and related packages:
sudo apt-get install python-flask python-flaskext.wtf python-pip
sudo pip install openerp-client-lib Flask-Bootstrap
-
Download Portero (usually to e.g. /var/www/portero)
-
(Optional) Replace /etc/apache2/sites-available with apache-site file from portero
-
Copy portero_config.py.dist to portero_config.py and edit appropriately