Skip to content

Instantly share code, notes, and snippets.

View diegobgl's full-sized avatar
🏠
Trabajando desde casa

Diego Gajardo diegobgl

🏠
Trabajando desde casa
View GitHub Profile
@diegobgl
diegobgl / odoo,txt
Created November 17, 2023 21:37 — forked from nullx5/odoo.md
https://www.odoo.com/documentation/17.0/administration/install/packages.html
Ubuntu 22.04
sudo apt update; sudo apt upgrade -y
sudo apt install postgresql -y
sudo systemctl status postgresql
sudo -u postgres psql
\q
sudo apt install python3-psycopg2
[options]
#
# WARNING:
# If you use the Odoo Database utility to change the master password be aware
# that the formatting of this file WILL be LOST! A copy of this file named
# /etc/odoo/openerp-server.conf.template has been made in case this happens
# Note that the copy does not have any first boot changes
#-----------------------------------------------------------------------------
# Odoo Server Config File - TurnKey Linux
@diegobgl
diegobgl / install_posbox_less.sh
Created May 19, 2018 04:56 — forked from dansanti/install_posbox_less.sh
Odoo PosBoxLess Script Instalation
#!/usr/bin/env bash
PKGS_TO_INSTALL="cups adduser postgresql-client python python-dateutil python-decorator python-docutils python-feedparser python-imaging python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid python-passlib python-psutil python-psycopg2 python-babel python-pychart python-pydot python-pyparsing python-pypdf2 python-reportlab python-requests python-tz python-vatnumber python-vobject python-werkzeug python-xlwt python-yaml postgresql python-gevent python-serial python-pip python-dev localepurge vim mc mg screen iw hostapd isc-dhcp-server git rsync console-data"
apt-get -y install ${PKGS_TO_INSTALL}
adduser pi -s /sbin/nologin -p 'raspberry'
cd /home/pi
git clone -b 9.0 --no-checkout --depth 1 https://github.com/odoo/odoo.git
cd odoo