#更新系統軟體
sudo apt update && sudo apt upgrade -y
#安裝資料庫
sudo apt install postgresql -y
#安裝py程序
sudo apt install python3-pip -y
#安裝odoo PDF工具
# for 32bit
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.raspberrypi.bullseye_armhf.deb
sudo apt install ./wkhtmltox_0.12.6.1-2.raspberrypi.bullseye_armhf.deb -y
# for 64bit
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.bullseye_arm64.deb
sudo apt install ./wkhtmltox_0.12.6.1-2.bullseye_arm64.deb -y
#安裝PDF工具中文字形
sudo apt install fonts-wqy-microhei ttf-wqy-microhei fonts-wqy-zenhei ttf-wqy-zenhei -y
#清理快取
fc-cache -f -v
# check Odoo service is running
sudo systemctl status odoo