Testing Odoo 11 on port 80 with multi website on windows server

Odoo give its best with Linux and usually i use that on production environments. But i was just curious to try the latest Odoo 11 version and try to apply few tricks i get from this two articles: https://stackoverflow.com/questions/37543602/how-to-change-odoo-default-port-on-windows https://www.odoo.com/it_IT/forum/help-1/question/fixed-v10-multiple-domains-with-one-odoo-install-117372 So: Here is how to change Odoo 11 port on 80 with multi website on … Leggi tutto

Note su immagini docker odoo

Nelle installazioni odoo di docker sono utili questi comandi: Per accedere come root e quandi usare i vari apt-get: docker exec -ti -u root odoo bash Esempio: docker exec -it odoo bash apt-get update apt-get install nano export TERM=xterm In modo da poter poi accedere con: docker exec -ti odoo bash e ad esempio modificare … Leggi tutto

Backup script for PostgreSQL to S3 on Linux

Thanks to: https://zaiste.net/posts/backup_postgresql_to_amazon_s3/ First configure s3: apt-get install s3cmd Set Amazon access & secret keys using –configure option. Enable encryption for data transferring as well as HTTPS. s3cmd –configure #Example of Backup.sh with options for retention (folder name) APP=$1 DB_NAME=$2 DB_USER=$3 DB_PASS=$4 AWS_RET=$5 BUCKET_NAME=”your.s3.backup/$AWS_RET” TIMESTAMP=$(date +%F_%T | tr ‘:’ ‘-‘) TEMP_FILE=$(mktemp XXXXXXXXXX.dump) TEMP_TARGZ=$(mktemp tar.XXXXXXXXXX) S3_FILE=”s3://$BUCKET_NAME/$APP/$APP-backup-$TIMESTAMP.tar.gz” … Leggi tutto