Skip to content

Instantly share code, notes, and snippets.

View mattybell's full-sized avatar

Matt Belachew - a.k.a - the wearables guy mattybell

View GitHub Profile
[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
################ serverupdated ###############
sudo apt update && sudo apt upgrade -y
sudo apt install git python3-pip build-essential wget python3-dev python3-venv python3-wheel libxslt-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools node-less -y
wget https://builds.wkhtmltopdf.org/0.12.1.3/wkhtmltox_0.12.1.3-1~bionic_amd64.deb
sudo apt install ./wkhtmltox_0.12.1.3-1~bionic_amd64.deb -y
#############################################
## https://linuxize.com/post/how-to-deploy-odoo-12-on-ubuntu-18-04/
sudo useradd -m -d /opt/odoo12 -U -r -s /bin/bash odoo12
sudo apt-get install postgresql -y
sudo su - postgres -c "createuser -s odoo12"