Skip to content

Instantly share code, notes, and snippets.

Install Odoo 15 on Mac M1

# considering you have installed homebrew

brew install python@3.8
brew install postgresql
brew install openssl

export LDFLAGS="-L/opt/homebrew/opt/openssl@3/lib"

Keybase proof

I hereby claim:

  • I am diogocduarte on github.
  • I am diogoduarte (https://keybase.io/diogoduarte) on keybase.
  • I have a public key ASAzofcAcHTgbBIcXE0bXopxEZyaXh88ArsWpHpod0ZY0wo

To claim this, I am signing this object:

#!/bin/bash
################################################################################
# Script for installing Odoo V10 on Ubuntu 16.04
################################################################################
OE_VERSION="10.0"
OE_USER="odoo"
OE_HOME="/opt/$OE_USER"
OE_HOME_EXT="$OE_HOME/v${OE_VERSION}"
sudo apt-get update
sudo apt-get dist-upgrade
sudo adduser --system --home=/opt/odoo --group odoo
sudo su - odoo -s /bin/bash
sudo apt-get install postgresql
sudo pg_createcluster 9.3 main --start
sudo su - postgres
createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt odoo (OclassAdm)